Hexret
CVE-2023-22809high 7.8PoC available

Sudo sudoedit "--" argument injection

A user-controlled editor variable can carry an extra "--", which defeats the option separator sudoedit places before its approved file list, appending an arbitrary file that is then edited as root.

Product
Sudo (sudoedit / sudo -e)
Vendor
Todd C. Miller / Sudo project
Affected
1.8.0 through 1.9.12p1
Fixed in
1.9.12p2
Weakness
CWE-88
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
18 Jan 2023

Practice this CVE, free

Classified as

References

Related CVEs