CVE-2023-22809
Sudo Editor Argument Injection Vulnerability
Description
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.
INFO
Published Date :
Jan. 18, 2023, 5:15 p.m.
Last Modified :
Nov. 21, 2024, 7:45 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2023-22809 has a 39 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2023-22809
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-22809
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
oscp notes
A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities
attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc
This repository is designed to provide a comprehensive collection of study materials, notes, and resources for the Offensive Security Certified Professional (OSCP) exam. It covers all key topics from basic to advanced, helping aspiring penetration testers to prepare efficiently for the exam.
cybersecurity hacking oscp oscp-guide oscp-journey oscp-prep
None
Python C Shell PHP PowerShell ASP.NET
这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目
HTML
None
Python Shell
Sudo Privilege Escalation: CVE-2023-22809 Simulation This project simulates the Sudo privilege escalation vulnerability (CVE-2023-22809) to demonstrate how unauthorized root access can be gained. It involves identifying and exploiting this vulnerability in a controlled environment using Parrot OS, the Sudo command, and Bash scripting.
Shell
None
Python
OSCP and stuffs
None
None
Python C Shell
OffSec Certified Professional Certification (OSCP).
oscp oscp-cheatsheet oscp-guide oscp-journey oscp-prep oscp-tools offsec-certified-professional-certification offensive-security offensivesecurity awesome-list awesome-lists cheatsheet offensive-ops
Oscp-notes
None
CSS HTML JavaScript
None
Python C Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-22809
vulnerability anywhere in the article.
- Kaspersky
Exploits and vulnerabilities in Q3 2024
Q3 2024 saw multiple vulnerabilities discovered in Windows and Linux subsystems that are not standard for cyberattacks. This is because operating system developers have been releasing new security mit ... Read more
The following table lists the changes that have been made to the
CVE-2023-22809
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/171644/sudo-1.9.12p1-Privilege-Escalation.html Added Reference http://packetstormsecurity.com/files/172509/Sudoedit-Extra-Arguments-Privilege-Escalation.html Added Reference http://packetstormsecurity.com/files/174234/Cisco-ThousandEyes-Enterprise-Agent-Virtual-Appliance-Arbitrary-File-Modification.html Added Reference http://seclists.org/fulldisclosure/2023/Aug/21 Added Reference http://www.openwall.com/lists/oss-security/2023/01/19/1 Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00012.html Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G4YNBTTKTRT2ME3NTSXAPTOKYUE47XHZ/ Added Reference https://security.gentoo.org/glsa/202305-12 Added Reference https://security.netapp.com/advisory/ntap-20230127-0015/ Added Reference https://support.apple.com/kb/HT213758 Added Reference https://www.debian.org/security/2023/dsa-5321 Added Reference https://www.sudo.ws/security/advisories/sudoedit_any/ Added Reference https://www.synacktiv.com/sites/default/files/2023-01/sudo-CVE-2023-22809.pdf -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Nov. 17, 2023
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/171644/sudo-1.9.12p1-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/171644/sudo-1.9.12p1-Privilege-Escalation.html Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/172509/Sudoedit-Extra-Arguments-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/172509/Sudoedit-Extra-Arguments-Privilege-Escalation.html Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/174234/Cisco-ThousandEyes-Enterprise-Agent-Virtual-Appliance-Arbitrary-File-Modification.html No Types Assigned http://packetstormsecurity.com/files/174234/Cisco-ThousandEyes-Enterprise-Agent-Virtual-Appliance-Arbitrary-File-Modification.html Third Party Advisory, VDB Entry Changed Reference Type http://seclists.org/fulldisclosure/2023/Aug/21 No Types Assigned http://seclists.org/fulldisclosure/2023/Aug/21 Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/ No Types Assigned https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/ Mailing List Changed Reference Type https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G4YNBTTKTRT2ME3NTSXAPTOKYUE47XHZ/ No Types Assigned https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G4YNBTTKTRT2ME3NTSXAPTOKYUE47XHZ/ Mailing List Changed Reference Type https://security.gentoo.org/glsa/202305-12 No Types Assigned https://security.gentoo.org/glsa/202305-12 Third Party Advisory Changed Reference Type https://support.apple.com/kb/HT213758 No Types Assigned https://support.apple.com/kb/HT213758 Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* OR *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* versions up to (excluding) 13.4 -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G4YNBTTKTRT2ME3NTSXAPTOKYUE47XHZ/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/G4YNBTTKTRT2ME3NTSXAPTOKYUE47XHZ/ -
CVE Modified by [email protected]
Sep. 06, 2023
Action Type Old Value New Value Added Reference https://support.apple.com/kb/HT213758 [No Types Assigned] -
CVE Modified by [email protected]
Aug. 18, 2023
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/174234/Cisco-ThousandEyes-Enterprise-Agent-Virtual-Appliance-Arbitrary-File-Modification.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 17, 2023
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2023/Aug/21 [No Types Assigned] -
CVE Modified by [email protected]
May. 23, 2023
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/172509/Sudoedit-Extra-Arguments-Privilege-Escalation.html [No Types Assigned] -
CVE Modified by [email protected]
May. 03, 2023
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202305-12 [No Types Assigned] -
CVE Modified by [email protected]
Apr. 03, 2023
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/171644/sudo-1.9.12p1-Privilege-Escalation.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 05, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/G4YNBTTKTRT2ME3NTSXAPTOKYUE47XHZ/ [No Types Assigned] -
Modified Analysis by [email protected]
Jan. 31, 2023
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20230127-0015/ No Types Assigned https://security.netapp.com/advisory/ntap-20230127-0015/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 27, 2023
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20230127-0015/ [No Types Assigned] -
Initial Analysis by [email protected]
Jan. 26, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2023/01/19/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/01/19/1 Exploit, Mailing List, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/01/msg00012.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/01/msg00012.html Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/ Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2023/dsa-5321 No Types Assigned https://www.debian.org/security/2023/dsa-5321 Third Party Advisory Changed Reference Type https://www.sudo.ws/security/advisories/sudoedit_any/ No Types Assigned https://www.sudo.ws/security/advisories/sudoedit_any/ Exploit, Mitigation, Vendor Advisory Changed Reference Type https://www.synacktiv.com/sites/default/files/2023-01/sudo-CVE-2023-22809.pdf No Types Assigned https://www.synacktiv.com/sites/default/files/2023-01/sudo-CVE-2023-22809.pdf Exploit, Mitigation, Technical Description, Third Party Advisory Added CWE NIST CWE-269 Added CPE Configuration OR *cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* versions from (including) 1.8.0 up to (excluding) 1.9.12 *cpe:2.3:a:sudo_project:sudo:1.9.12:-:*:*:*:*:*:* *cpe:2.3:a:sudo_project:sudo:1.9.12:p1:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 22, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/ [No Types Assigned] -
CVE Modified by [email protected]
Jan. 19, 2023
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2023/01/19/1 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 19, 2023
Action Type Old Value New Value Added Reference https://www.debian.org/security/2023/dsa-5321 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 18, 2023
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00012.html [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-22809
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-22809
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.09 }} 0.04%
score
0.39389
percentile