CVE-2010-3856
Description
ld.so in the GNU C Library (aka glibc or libc6) before 2.11.3, and 2.12.x before 2.12.2, does not properly restrict use of the LD_AUDIT environment variable to reference dynamic shared objects (DSOs) as audit objects, which allows local users to gain privileges by leveraging an unsafe DSO located in a trusted library directory, as demonstrated by libpcprofile.so.
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 - 'LD_AUDIT' Arbitrary DSO Load Privilege Escalation
glibc - 'LD_AUDIT' Arbitrary DSO Load Privilege Escalation (Metasploit)
GNU C Library 2.x (libc6) - Dynamic Linker LD_AUDIT Arbitrary DSO Load Privilege Escalation
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://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html
- http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2010/Oct/344
- http://seclists.org/fulldisclosure/2019/Jun/18
- http://seclists.org/fulldisclosure/2023/Jul/31
- http://secunia.com/advisories/42787
- http://security.gentoo.org/glsa/glsa-201011-01.xml
- http://sourceware.org/ml/libc-hacker/2010-10/msg00010.html
- http://support.avaya.com/css/P8/documents/100121017
- http://www.debian.org/security/2010/dsa-2122
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:212
- http://www.openwall.com/lists/oss-security/2023/07/19/9
- http://www.openwall.com/lists/oss-security/2023/07/20/1
- 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/44347
- 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=645672
- https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html
- https://rhn.redhat.com/errata/RHSA-2010-0793.html
- https://seclists.org/bugtraq/2019/Jun/14
- https://www.exploit-db.com/exploits/44025/
- https://security-tracker.debian.org/tracker/CVE-2010-3856
CWEs
CWE-264
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.