CVE-2010-1163 Privilege escalation in n/a
Local attackers can execute arbitrary commands with elevated privileges by exploiting a flaw in sudo's command matching when the current directory is in PATH.
- 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-1163?
CVE-2010-1163 is a medium-severity vulnerability in n/a, published on 16 Apr 2010. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The command matching functionality in sudo 1.6.8 through 1.7.2p5 does not properly handle when a file in the current working directory has the same name as a pseudo-command in the sudoers file and the PATH contains an entry for ".", which allows local users to execute arbitrary commands via a Trojan horse executable, as demonstrated using sudoedit, a different vulnerability than CVE-2010-0426.
Weakness: CWE-20
Which versions are affected by CVE-2010-1163?
It affects 1 product.
Linux distribution packages (4)
sudo Red Hat:enterprise_linux:5::client | All versions | 0:1.7.2p1-6.el5_5 |
sudo-debuginfo Red Hat:enterprise_linux:5::client | All versions | 0:1.7.2p1-6.el5_5 |
sudo Red Hat:enterprise_linux:5::server | All versions | 0:1.7.2p1-6.el5_5 |
sudo-debuginfo Red Hat:enterprise_linux:5::server | All versions | 0:1.7.2p1-6.el5_5 |
Products include Todd Miller Sudo.
How do I fix CVE-2010-1163?
Upgrade to a fixed version.
Is CVE-2010-1163 being exploited?
There is no known exploitation of CVE-2010-1163 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2010-1163, GHSA-hh7m-2j26-qw2m, RHSA-2010:0361.