Skip to content
OpenAdvisories
Unscored Public exploit CVE-2010-0426 EUVD-2010-0457GHSA-9j25-f2ww-m5pf

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-comma…

Published Feb 24, 2010 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sudo 1.7.2p1-1.2 —
Debian 13 sudo 1.7.2p1-1.2 —
Debian 12 sudo 1.7.2p1-1.2 —
Debian 5.0 sudo 1.6.9p17-2+lenny1 DSA-2006-1
ReleasePackageFixed inAdvisory
RHEL 5 sudo 1.6.9p17-6.el5_4 RHSA-2010:0122

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References