CVE-2023-22809
CVE-2023-22809
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process. This can lead to privilege escalation. Affected versions are 1.8.0 through 1.9.12.p1. The problem exists because a user-specified editor may contain a "--" argument that defeats a protection mechanism, e.g., an EDITOR='vim -- /path/to/extra/file' value.
CVSS 7.8 · Hoch · EPSS 55,4% · Öffentlicher Exploit · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system
Betroffene Produkte und Versionen
n/a
- Softwareversionen
- n/a: Betroffen
Keine Korrektur veröffentlicht
sudo Debian:12
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.9.12p2-1
Auf 1.9.12p2-1 aktualisieren
sudo Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.9.12p2-1
Auf 1.9.12p2-1 aktualisieren
sudo Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.9.12p2-1
Auf 1.9.12p2-1 aktualisieren
sudo Ubuntu:Pro:14.04:LTS
- Softwareversionen
- 1.8.6p3-0ubuntu3
- 1.8.8-2ubuntu1
- 1.8.8-2ubuntu2
- 1.8.9p4-1ubuntu1
- 1.8.9p4-1ubuntu2
- 1.8.9p5-1ubuntu1
- 1.8.9p5-1ubuntu1.1
- 1.8.9p5-1ubuntu1.2
- 1.8.9p5-1ubuntu1.3
- 1.8.9p5-1ubuntu1.4
- 1.8.9p5-1ubuntu1.5+esm1
- 1.8.9p5-1ubuntu1.5+esm2
- 1.8.9p5-1ubuntu1.5+esm3
- 1.8.9p5-1ubuntu1.5+esm5
- 1.8.9p5-1ubuntu1.5+esm6
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.8.9p5-1ubuntu1.5+esm7
Auf 1.8.9p5-1ubuntu1.5+esm7 aktualisieren
sudo Ubuntu:Pro:16.04:LTS
- Softwareversionen
- 1.8.12-1ubuntu3
- 1.8.16-0ubuntu1
- 1.8.16-0ubuntu1.1
- 1.8.16-0ubuntu1.2
- 1.8.16-0ubuntu1.3
- 1.8.16-0ubuntu1.4
- 1.8.16-0ubuntu1.5
- 1.8.16-0ubuntu1.6
- 1.8.16-0ubuntu1.7
- 1.8.16-0ubuntu1.8
- 1.8.16-0ubuntu1.9
- 1.8.16-0ubuntu1.10
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.8.16-0ubuntu1.10+esm1
Auf 1.8.16-0ubuntu1.10+esm1 aktualisieren
sudo Ubuntu:18.04:LTS
- Softwareversionen
- 1.8.20p2-1ubuntu1
- 1.8.21p2-2ubuntu1
- 1.8.21p2-3ubuntu1
- 1.8.21p2-3ubuntu1.1
- 1.8.21p2-3ubuntu1.2
- 1.8.21p2-3ubuntu1.3
- 1.8.21p2-3ubuntu1.4
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.8.21p2-3ubuntu1.5
Auf 1.8.21p2-3ubuntu1.5 aktualisieren
sudo Ubuntu:20.04:LTS
- Softwareversionen
- 1.8.27-1ubuntu4
- 1.8.29-1ubuntu1
- 1.8.31-1ubuntu1
- 1.8.31-1ubuntu1.1
- 1.8.31-1ubuntu1.2
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.8.31-1ubuntu1.4
Auf 1.8.31-1ubuntu1.4 aktualisieren
sudo Ubuntu:22.04:LTS
- Softwareversionen
- 1.9.5p2-3ubuntu2
- 1.9.9-1ubuntu2
- 1.9.9-1ubuntu2.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.9.9-1ubuntu2.2
Auf 1.9.9-1ubuntu2.2 aktualisieren
Originalquellen
- https://www.synacktiv.com/sites/default/files/2023-01/sudo-CVE-2023-22809.pdf
- https://www.sudo.ws/security/advisories/sudoedit_any/
- https://lists.debian.org/debian-lts-announce/2023/01/msg00012.html
- https://www.debian.org/security/2023/dsa-5321
- http://www.openwall.com/lists/oss-security/2023/01/19/1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/
- https://security.netapp.com/advisory/ntap-20230127-0015/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G4YNBTTKTRT2ME3NTSXAPTOKYUE47XHZ/
- http://packetstormsecurity.com/files/171644/sudo-1.9.12p1-Privilege-Escalation.html
- https://security.gentoo.org/glsa/202305-12
- https://support.apple.com/kb/HT213758
- http://packetstormsecurity.com/files/172509/Sudoedit-Extra-Arguments-Privilege-Escalation.html
- http://seclists.org/fulldisclosure/2023/Aug/21
- http://packetstormsecurity.com/files/174234/Cisco-ThousandEyes-Enterprise-Agent-Virtual-Appliance-Arbitrary-File-Modification.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-22809