CVE-2010-0426 Privilege escalation in n/a

Medium 6.9 Published Updated

Local attackers can gain privileges by exploiting pseudo-command matching in sudo when enabled, allowing execution of crafted files.

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

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

Official description

sudo 1.6.x before 1.6.9p21 and 1.7.x before 1.7.2p4, when a pseudo-command is enabled, permits a match between the name of the pseudo-command and the name of an executable file in an arbitrary directory, which allows local users to gain privileges via a crafted executable file, as demonstrated by a file named sudoedit in a user's home directory.

Weakness: CWE-264

Which versions are affected by CVE-2010-0426?

It affects 1 product.

Products include Todd Miller Sudo.

How do I fix CVE-2010-0426?

Upgrade to a fixed version.

Is CVE-2010-0426 being exploited?

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

Public exploit code: 3 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2010-0426, GHSA-9j25-f2ww-m5pf.

Is CVE-2010-0426 in your software?

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

Check your SBOMs for free