← back
CVE-2023-22809highobserved exploitationCWE-269

CVE-2023-22809

95Vexday Risk Score

Patch now. It exploitation observed by VulnCheck and has a working public exploit.

ssvc Actcvss 7.8epss 55%
from disclosure to weapon3 days
Published on NVDJan 18
1st PoC+3d
metasploitJan 18
VulnCheck+688d
exploitation probability
55%top 1% of all CVEs
observed exploitation
yesVulnCheck
27 public exploit(s)
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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
n/a · n/a
public PoCs found27
exploitdbwww.exploit-db.com/exploits/51217unverifiedgithubgithub.com/n3m1sys/CVE-2023-22809-sudoedit-privesc165githubgithub.com/asepsaepdin/CVE-2023-228096githubgithub.com/M4fiaB0y/CVE-2023-228096githubgithub.com/P4x1s/CVE-2023-22809-sudo-POC6githubgithub.com/Chan9Yan9/CVE-2023-228092githubgithub.com/Toothless5143/CVE-2023-228092githubgithub.com/D0rDa4aN919/CVE-2023-22809-Exploiter2githubgithub.com/Spydomain/CVE-2023-22809-automated-python-exploits1githubgithub.com/hello4r1end/patch_CVE-2023-228090githubgithub.com/ValeuDoamne/CVE-2023-228090githubgithub.com/laxmiyamkolu/SUDO-privilege-escalation0githubgithub.com/pashayogi/CVE-2023-228090cve_referencepacketstormsecurity.com/files/171644/sudo-1.9.12p1-Privilege-Escalation.htmlunverifiedvulncheckvulncheck.com/xdb/04a42ab9ebcfunverifiedcve_referencepacketstormsecurity.com/files/172509/Sudoedit-Extra-Arguments-Privilege-Escalation.htmlunverifiedcve_referencepacketstormsecurity.com/files/174234/Cisco-ThousandEyes-Enterprise-Agent-Virtual-Appliance-Arbitrary-File-Modification.htmlunverifiedvulncheckvulncheck.com/xdb/26c0ac8c7db3unverifiedvulncheckvulncheck.com/xdb/bec947d45411unverifiedvulncheckvulncheck.com/xdb/e097039062dbunverifiedvulncheckvulncheck.com/xdb/e428818ee7cbunverifiedvulncheckvulncheck.com/xdb/9916f6e4a0d8unverifiedvulncheckvulncheck.com/xdb/31fcf7095c80unverifiedvulncheckvulncheck.com/xdb/968fc4cbb07bunverifiedvulncheckvulncheck.com/xdb/984443fdba72unverifiedvulncheckvulncheck.com/xdb/23bbbbdbe8e7unverifiedvulncheckvulncheck.com/xdb/999a57616944unverified
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.