CVE-2010-1163
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 6.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Todd Miller Sudo 1.6.8
- Todd Miller Sudo 1.6.8_p1
- Todd Miller Sudo 1.6.8_p2
- Todd Miller Sudo 1.6.8_p5
- Todd Miller Sudo 1.6.8_p7
- Todd Miller Sudo 1.6.8_p8
- Todd Miller Sudo 1.6.8_p9
- Todd Miller Sudo 1.6.8_p12
Attack profile CVSS 2.0 · 6.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-1163.md and follow it. Check whether this project is affected by CVE-2010-1163. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/39384
- http://secunia.com/advisories/39474
- http://www.vupen.com/english/advisories/2010/0881
- http://www.vupen.com/english/advisories/2010/0895
- http://secunia.com/advisories/39384
- http://secunia.com/advisories/39474
- http://www.vupen.com/english/advisories/2010/0881
- http://www.vupen.com/english/advisories/2010/0895
References
- http://lists.fedoraproject.org/pipermail/package-announce/2010-April/039986.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html
- http://secunia.com/advisories/39384
- http://secunia.com/advisories/39399
- http://secunia.com/advisories/39474
- http://secunia.com/advisories/39543
- http://secunia.com/advisories/43068
- http://slackware.com/security/viewer.php?l=slackware-security&y=2010&m=slackware-security.577019
- http://wiki.rpath.com/Advisories:rPSA-2010-0075
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:078
- http://www.osvdb.org/63878
- http://www.redhat.com/support/errata/RHSA-2010-0361.html
- http://www.securityfocus.com/archive/1/510827/100/0/threaded
- http://www.securityfocus.com/archive/1/510846/100/0/threaded
- http://www.securityfocus.com/archive/1/510880/100/0/threaded
- http://www.securityfocus.com/archive/1/514489/100/0/threaded
- http://www.securityfocus.com/bid/39468
- http://www.sudo.ws/sudo/alerts/sudoedit_escalate2.html
- http://www.ubuntu.com/usn/USN-928-1
- http://www.vupen.com/english/advisories/2010/0881
- http://www.vupen.com/english/advisories/2010/0895
- http://www.vupen.com/english/advisories/2010/0904
- http://www.vupen.com/english/advisories/2010/0949
- http://www.vupen.com/english/advisories/2010/0956
- http://www.vupen.com/english/advisories/2010/1019