CVE-2010-2956 Privilege escalation in n/a

Medium 6.2 Published Updated

Local attackers can gain root privileges by exploiting improper handling of sudo command line options when Runas groups are configured.

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-2010-2956?

CVE-2010-2956 is a medium-severity vulnerability in n/a, published on 10 Sep 2010. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Sudo 1.7.0 through 1.7.4p3, when a Runas group is configured, does not properly handle use of the -u option in conjunction with the -g option, which allows local users to gain privileges via a command line containing a "-u root" sequence.

Which versions are affected by CVE-2010-2956?

It affects 1 product.

Linux distribution packages (4)
sudo Red Hat:enterprise_linux:5::clientAll versions0:1.7.2p1-8.el5_5
sudo-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:1.7.2p1-8.el5_5
sudo Red Hat:enterprise_linux:5::serverAll versions0:1.7.2p1-8.el5_5
sudo-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:1.7.2p1-8.el5_5

Products include Todd Miller Sudo.

How do I fix CVE-2010-2956?

Upgrade to a fixed version.

Is CVE-2010-2956 being exploited?

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

Sources

Also known as DEBIAN-CVE-2010-2956, GHSA-88qq-68fm-2rxx, RHSA-2010:0675.

Is CVE-2010-2956 in your software?

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

Check your SBOMs for free