CVE-2009-5064
What it is
ldd in the GNU C Library (aka glibc or libc6) 2.13 and earlier allows local users to gain privileges via a Trojan horse executable file linked with a modified loader that omits certain LD_TRACE_LOADED_OBJECTS checks. NOTE: the GNU C Library vendor states "This is just nonsense. There are a gazillion other ways to introduce code if people are downloading arbitrary binaries and install them in appropriate directories or set LD_LIBRARY_PATH etc.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
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: 0.5% in the next 30 days (EPSS).
- Severity: 6.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Gnu Glibc ≤ 2.1.3
- Gnu Glibc 1.00
- Gnu Glibc 1.01
- Gnu Glibc 1.02
- Gnu Glibc 1.03
- Gnu Glibc 1.04
- Gnu Glibc 1.05
- Gnu Glibc 1.06
Attack profile CVSS 2.0 · 6.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:N/C:C/I:C/A:C
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-2009-5064.md and follow it. Check whether this project is affected by CVE-2009-5064. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://openwall.com/lists/oss-security/2011/03/07/13
- http://openwall.com/lists/oss-security/2011/03/08/1
- http://openwall.com/lists/oss-security/2011/03/08/10
- http://openwall.com/lists/oss-security/2011/03/08/2
- http://openwall.com/lists/oss-security/2011/03/08/3
- http://openwall.com/lists/oss-security/2011/03/08/7
- https://bugzilla.redhat.com/show_bug.cgi?id=531160
- https://bugzilla.redhat.com/show_bug.cgi?id=682998
- http://openwall.com/lists/oss-security/2011/03/07/13
- http://openwall.com/lists/oss-security/2011/03/08/1
References
- http://openwall.com/lists/oss-security/2011/03/07/10
- http://openwall.com/lists/oss-security/2011/03/07/13
- http://openwall.com/lists/oss-security/2011/03/07/7
- http://openwall.com/lists/oss-security/2011/03/08/1
- http://openwall.com/lists/oss-security/2011/03/08/10
- http://openwall.com/lists/oss-security/2011/03/08/2
- http://openwall.com/lists/oss-security/2011/03/08/3
- http://openwall.com/lists/oss-security/2011/03/08/7
- http://reverse.lostrealm.com/protect/ldd.html
- http://www.catonmat.net/blog/ldd-arbitrary-code-execution/
- http://www.redhat.com/support/errata/RHSA-2011-1526.html
- https://bugzilla.redhat.com/show_bug.cgi?id=531160
- https://bugzilla.redhat.com/show_bug.cgi?id=682998
- http://openwall.com/lists/oss-security/2011/03/07/10
- http://openwall.com/lists/oss-security/2011/03/07/13
- http://openwall.com/lists/oss-security/2011/03/07/7
- http://openwall.com/lists/oss-security/2011/03/08/1
- http://openwall.com/lists/oss-security/2011/03/08/10
- http://openwall.com/lists/oss-security/2011/03/08/2
- http://openwall.com/lists/oss-security/2011/03/08/3
- http://openwall.com/lists/oss-security/2011/03/08/7
- http://reverse.lostrealm.com/protect/ldd.html
- http://www.catonmat.net/blog/ldd-arbitrary-code-execution/
- http://www.redhat.com/support/errata/RHSA-2011-1526.html
- https://bugzilla.redhat.com/show_bug.cgi?id=531160