CVE-2012-0814
What it is
The auth_parse_options function in auth-options.c in sshd in OpenSSH before 5.7 provides debug messages containing authorized_keys command options, which allows remote authenticated users to obtain potentially sensitive information by reading these messages, as demonstrated by the shared user account required by Gitolite. NOTE: this can cross privilege boundaries because a user account may intentionally have no shell or filesystem access, and therefore may have no supported way to read an authorized_keys file in its own home directory.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure.
- Exploit odds
- 3.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.6% in the next 30 days (EPSS).
- Severity: 6.5 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 3.6% · EPSS, next 30 days
- Weakness
- CWE-255
- Record status
- Modified
Affected
- Openbsd OpenSSH ≤ 5.6
- Openbsd OpenSSH 1.2
- Openbsd OpenSSH 1.2.1
- Openbsd OpenSSH 1.2.2
- Openbsd OpenSSH 1.2.3
- Openbsd OpenSSH 1.2.27
- Openbsd OpenSSH 1.3
- Openbsd OpenSSH 1.5
Attack profile CVSS 3.1 · 6.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-0814.md and follow it. Check whether this project is affected by CVE-2012-0814. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657445
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673
- http://openwall.com/lists/oss-security/2012/01/26/15
- http://openwall.com/lists/oss-security/2012/01/26/16
- http://openwall.com/lists/oss-security/2012/01/27/1
- http://openwall.com/lists/oss-security/2012/01/27/4
- http://osvdb.org/78706
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/auth-options.c
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/auth-options.c.diff?r1=1.53%3Br2=1.54
- http://www.securityfocus.com/bid/51702
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72756
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657445
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673
- http://openwall.com/lists/oss-security/2012/01/26/15
- http://openwall.com/lists/oss-security/2012/01/26/16
- http://openwall.com/lists/oss-security/2012/01/27/1
- http://openwall.com/lists/oss-security/2012/01/27/4
- http://osvdb.org/78706
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/auth-options.c
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/auth-options.c.diff?r1=1.53%3Br2=1.54
- http://www.securityfocus.com/bid/51702
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72756