CVE-2011-1658 Privilege escalation in n/a

Low 3.7 Published Updated

Local attackers can escalate privileges by exploiting $ORIGIN expansion in glibc's ld.so with crafted LD_PRELOAD values on setuid programs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2011-1658?

CVE-2011-1658 is a low-severity vulnerability in Gnu Glibc, published on 8 Apr 2011. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-264

Which versions are affected by CVE-2011-1658?

It affects 1 product.

Products include Gnu Glibc.

How do I fix CVE-2011-1658?

Apply the vendor's patch.

Is CVE-2011-1658 being exploited?

There is no known exploitation of CVE-2011-1658 in the wild and no public exploit code.

All Gnu Glibc vulnerabilities

Sources

Also known as GHSA-47f6-pj9c-f35v.

Is CVE-2011-1658 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free