CVE-2004-1689
What it is
sudoedit (aka sudo -e) in sudo 1.6.8 opens a temporary file with root privileges, which allows local users to read arbitrary files via a symlink attack on the temporary file before quitting sudoedit.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 1.2% 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: 1.2% in the next 30 days (EPSS).
- Severity: 2.1 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.2% · EPSS, next 30 days
- Record status
- Modified
Affected
- Todd Miller Sudo 1.6.8
Attack profile CVSS 2.0 · 2.1
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:L/AC:L/Au:N/C:P/I:N/A:N
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-2004-1689.md and follow it. Check whether this project is affected by CVE-2004-1689. 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://packetstormsecurity.nl/0409-exploits/sudoedit.txt
- http://secunia.com/advisories/12596
- http://www.ciac.org/ciac/bulletins/o-219.shtml
- http://www.kb.cert.org/vuls/id/424358
- http://www.osvdb.org/10023
- http://www.securityfocus.com/bid/11204
- http://www.sudo.ws/sudo/alerts/sudoedit.html
- http://packetstormsecurity.nl/0409-exploits/sudoedit.txt
- http://secunia.com/advisories/12596
- http://www.ciac.org/ciac/bulletins/o-219.shtml
References
- http://marc.info/?l=bugtraq&m=109537972929201&w=2
- http://packetstormsecurity.nl/0409-exploits/sudoedit.txt
- http://secunia.com/advisories/12596
- http://www.ciac.org/ciac/bulletins/o-219.shtml
- http://www.kb.cert.org/vuls/id/424358
- http://www.osvdb.org/10023
- http://www.securityfocus.com/bid/11204
- http://www.sudo.ws/sudo/alerts/sudoedit.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17424
- http://marc.info/?l=bugtraq&m=109537972929201&w=2
- http://packetstormsecurity.nl/0409-exploits/sudoedit.txt
- http://secunia.com/advisories/12596
- http://www.ciac.org/ciac/bulletins/o-219.shtml
- http://www.kb.cert.org/vuls/id/424358
- http://www.osvdb.org/10023
- http://www.securityfocus.com/bid/11204
- http://www.sudo.ws/sudo/alerts/sudoedit.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17424