CVE-2011-1658
What it is
ld.so in the GNU C Library (aka glibc or libc6) 2.13 and earlier expands the $ORIGIN dynamic string token when RPATH is composed entirely of this token, which might allow local users to gain privileges by creating a hard link in an arbitrary directory to a (1) setuid or (2) setgid program with this RPATH value, and then executing the program with a crafted value for the LD_PRELOAD environment variable, a different vulnerability than CVE-2010-3847 and CVE-2011-0536. NOTE: it is not expected that any standard operating-system distribution would ship an applicable setuid or setgid program.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.3% 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.3% in the next 30 days (EPSS).
- Severity: 3.7 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Gnu Glibc ≤ 2.13
- 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 · 3.7
- Attack vector
- Local
- Complexity
- High
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:H/Au:N/C:P/I:P/A:P
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-2011-1658.md and follow it. Check whether this project is affected by CVE-2011-1658. 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://sourceware.org/bugzilla/show_bug.cgi?id=12393
- https://bugzilla.redhat.com/show_bug.cgi?id=667974
- http://sourceware.org/bugzilla/show_bug.cgi?id=12393
- https://bugzilla.redhat.com/show_bug.cgi?id=667974
References
- http://secunia.com/advisories/46397
- http://sourceware.org/bugzilla/show_bug.cgi?id=12393
- http://www.securityfocus.com/archive/1/520102/100/0/threaded
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- https://bugzilla.redhat.com/show_bug.cgi?id=667974
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66820
- http://secunia.com/advisories/46397
- http://sourceware.org/bugzilla/show_bug.cgi?id=12393
- http://www.securityfocus.com/archive/1/520102/100/0/threaded
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- https://bugzilla.redhat.com/show_bug.cgi?id=667974
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66820