CVE-2010-3847
Description
elf/dl-load.c in ld.so in the GNU C Library (aka glibc or libc6) through 2.11.2, and 2.12.x through 2.12.1, does not properly handle a value of $ORIGIN for the LD_AUDIT environment variable, which allows local users to gain privileges via a crafted dynamic shared object (DSO) located in an arbitrary directory.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
glibc - '$ORIGIN' Expansion Privilege Escalation (Metasploit)
glibc - 'LD_AUDIT' Arbitrary DSO Load Privilege Escalation (Metasploit)
GNU C Library 2.x (libc6) - Dynamic Linker LD_AUDIT Arbitrary DSO Load Privilege Escalation
GNU C library dynamic linker - '$ORIGIN' Expansion
Metasploit modules
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.11.2-8 |
| sid | Fixed | 2.11.2-8 |
| forky | Fixed | 2.11.2-8 |
| bullseye | Fixed | 2.11.2-8 |
| bookworm | Fixed | 2.11.2-8 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gnu | glibc | {"endIncluding":"2.11.2"} | |
| 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 | |
| gnu | glibc | 1.07 | |
| gnu | glibc | 1.08 | |
| gnu | glibc | 1.09 | |
| gnu | glibc | 1.09.1 | |
| gnu | glibc | 2.0 | |
| gnu | glibc | 2.0.1 | |
| gnu | glibc | 2.0.2 | |
| gnu | glibc | 2.0.3 | |
| gnu | glibc | 2.0.4 | |
| gnu | glibc | 2.0.5 | |
| gnu | glibc | 2.0.6 | |
| gnu | glibc | 2.1 | |
| gnu | glibc | 2.1.1 | |
| gnu | glibc | 2.1.1.6 | |
| gnu | glibc | 2.1.2 | |
| gnu | glibc | 2.1.3 | |
| gnu | glibc | 2.1.3.10 | |
| gnu | glibc | 2.1.9 | |
| gnu | glibc | 2.2 | |
| gnu | glibc | 2.2.1 | |
| gnu | glibc | 2.2.2 | |
| gnu | glibc | 2.2.3 | |
| gnu | glibc | 2.2.4 | |
| gnu | glibc | 2.2.5 | |
| gnu | glibc | 2.3 | |
| gnu | glibc | 2.3.1 | |
| gnu | glibc | 2.3.2 | |
| gnu | glibc | 2.3.3 | |
| gnu | glibc | 2.3.4 | |
| gnu | glibc | 2.3.5 | |
| gnu | glibc | 2.3.6 | |
| gnu | glibc | 2.3.10 | |
| gnu | glibc | 2.4 | |
| gnu | glibc | 2.5 | |
| gnu | glibc | 2.5.1 | |
| gnu | glibc | 2.6 | |
| gnu | glibc | 2.6.1 | |
| gnu | glibc | 2.7 | |
| gnu | glibc | 2.8 | |
| gnu | glibc | 2.9 | |
| gnu | glibc | 2.10 | |
| gnu | glibc | 2.10.1 | |
| gnu | glibc | 2.10.2 | |
| gnu | glibc | 2.11 | |
| gnu | glibc | 2.11.1 | |
| gnu | glibc | 2.12.0 | |
| gnu | glibc | 2.12.1 | |
References
- http://seclists.org/fulldisclosure/2010/Oct/257
- http://seclists.org/fulldisclosure/2010/Oct/292
- http://seclists.org/fulldisclosure/2010/Oct/294
- http://secunia.com/advisories/42787
- http://security.gentoo.org/glsa/glsa-201011-01.xml
- http://sourceware.org/ml/libc-hacker/2010-10/msg00007.html
- http://support.avaya.com/css/P8/documents/100120941
- http://www.debian.org/security/2010/dsa-2122
- http://www.kb.cert.org/vuls/id/537223
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:207
- http://www.redhat.com/support/errata/RHSA-2010-0872.html
- http://www.securityfocus.com/archive/1/515545/100/0/threaded
- http://www.securityfocus.com/bid/44154
- http://www.ubuntu.com/usn/USN-1009-1
- http://www.vmware.com/security/advisories/VMSA-2011-0001.html
- http://www.vupen.com/english/advisories/2011/0025
- https://bugzilla.redhat.com/show_bug.cgi?id=643306
- https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html
- https://rhn.redhat.com/errata/RHSA-2010-0787.html
- https://www.exploit-db.com/exploits/44024/
- https://www.exploit-db.com/exploits/44025/
- https://security-tracker.debian.org/tracker/CVE-2010-3847
CWEs
CWE-59
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.