CVE-2011-2777 Privilege escalation in n/a

Medium 4.4 Published Updated

Local attackers can escalate privileges by exploiting improper pidof usage in the acpid power button script.

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-2777?

CVE-2011-2777 is a medium-severity vulnerability in n/a, published on 29 Aug 2012. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

samples/powerbtn/powerbtn.sh in acpid (aka acpid2) 2.0.16 and earlier uses the pidof program incorrectly, which allows local users to gain privileges by running a program with the name kded4 and a DBUS_SESSION_BUS_ADDRESS environment variable containing commands.

Weakness: CWE-264

Which versions are affected by CVE-2011-2777?

It affects 1 product.

Products include Tedfelix Acpid2.

How do I fix CVE-2011-2777?

Apply the vendor's patch.

Is CVE-2011-2777 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2011-2777, GHSA-v38r-g9qq-wg8m.

Is CVE-2011-2777 in your software?

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

Check your SBOMs for free