2023-04-24 12:24:31 +02:00
{
"id" : "CVE-2023-22809" ,
"sourceIdentifier" : "cve@mitre.org" ,
"published" : "2023-01-18T17:15:10.353" ,
2023-11-17 21:00:29 +00:00
"lastModified" : "2023-11-17T19:32:56.817" ,
"vulnStatus" : "Analyzed" ,
2024-07-14 02:06:08 +00:00
"cveTags" : [ ] ,
2023-04-24 12:24:31 +02:00
"descriptions" : [
{
"lang" : "en" ,
"value" : "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."
2024-04-04 08:46:00 +00:00
} ,
{
"lang" : "es" ,
"value" : "En Sudo anterior a 1.9.12p2, la funci\u00f3n sudoedit (tambi\u00e9n conocida como -e) maneja mal argumentos adicionales pasados en las variables de entorno proporcionadas por el usuario (SUDO_EDITOR, VISUAL y EDITOR), permitiendo a un atacante local agregar entradas arbitrarias a la lista de archivos para procesar. . Esto puede conducir a una escalada de privilegios. Las versiones afectadas son 1.8.0 a 1.9.12.p1. El problema existe porque un editor especificado por el usuario puede contener un argumento \"--\" que anula un mecanismo de protecci\u00f3n, por ejemplo, un valor EDITOR='vim -- /path/to/extra/file'."
2023-04-24 12:24:31 +02:00
}
] ,
"metrics" : {
"cvssMetricV31" : [
{
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" ,
"attackVector" : "LOCAL" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "LOW" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "HIGH" ,
"availabilityImpact" : "HIGH" ,
"baseScore" : 7.8 ,
"baseSeverity" : "HIGH"
} ,
"exploitabilityScore" : 1.8 ,
"impactScore" : 5.9
}
]
} ,
"weaknesses" : [
{
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
"description" : [
{
"lang" : "en" ,
"value" : "CWE-269"
}
]
}
] ,
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "1.8.0" ,
"versionEndExcluding" : "1.9.12" ,
"matchCriteriaId" : "E76D2160-BE9D-4C9E-B2AB-B52B3C84DAD7"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:sudo_project:sudo:1.9.12:-:*:*:*:*:*:*" ,
"matchCriteriaId" : "30B5DA3F-091D-4627-A5C0-2D1487A378B0"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:sudo_project:sudo:1.9.12:p1:*:*:*:*:*:*" ,
"matchCriteriaId" : "F30DC131-EACB-47C6-B6B7-FCB78DDBD059"
}
]
}
]
} ,
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*" ,
"matchCriteriaId" : "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*" ,
"matchCriteriaId" : "FA6FEEC2-9F11-4643-8827-749718254FED"
}
]
}
]
} ,
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
2023-11-17 21:00:29 +00:00
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*" ,
"matchCriteriaId" : "5C675112-476C-4D7C-BCB9-A2FB2D0BC9FD"
} ,
2023-04-24 12:24:31 +02:00
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*" ,
"matchCriteriaId" : "E30D0E6F-4AE8-4284-8716-991DFA48CC5D"
}
]
}
]
2023-11-17 21:00:29 +00:00
} ,
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*" ,
"versionEndExcluding" : "13.4" ,
"matchCriteriaId" : "ADD1755A-5CD2-4EED-8C6C-4729FADFA3F5"
}
]
}
]
2023-04-24 12:24:31 +02:00
}
] ,
"references" : [
{
"url" : "http://packetstormsecurity.com/files/171644/sudo-1.9.12p1-Privilege-Escalation.html" ,
2023-11-17 21:00:29 +00:00
"source" : "cve@mitre.org" ,
"tags" : [
"Third Party Advisory" ,
"VDB Entry"
]
2023-04-24 12:24:31 +02:00
} ,
2023-05-23 18:00:34 +00:00
{
"url" : "http://packetstormsecurity.com/files/172509/Sudoedit-Extra-Arguments-Privilege-Escalation.html" ,
2023-11-17 21:00:29 +00:00
"source" : "cve@mitre.org" ,
"tags" : [
"Third Party Advisory" ,
"VDB Entry"
]
2023-05-23 18:00:34 +00:00
} ,
2023-08-18 18:00:38 +00:00
{
"url" : "http://packetstormsecurity.com/files/174234/Cisco-ThousandEyes-Enterprise-Agent-Virtual-Appliance-Arbitrary-File-Modification.html" ,
2023-11-17 21:00:29 +00:00
"source" : "cve@mitre.org" ,
"tags" : [
"Third Party Advisory" ,
"VDB Entry"
]
2023-08-18 18:00:38 +00:00
} ,
2023-08-17 23:55:30 +00:00
{
"url" : "http://seclists.org/fulldisclosure/2023/Aug/21" ,
2023-11-17 21:00:29 +00:00
"source" : "cve@mitre.org" ,
"tags" : [
"Mailing List" ,
"Third Party Advisory"
]
2023-08-17 23:55:30 +00:00
} ,
2023-04-24 12:24:31 +02:00
{
"url" : "http://www.openwall.com/lists/oss-security/2023/01/19/1" ,
"source" : "cve@mitre.org" ,
"tags" : [
"Exploit" ,
"Mailing List" ,
"Third Party Advisory"
]
} ,
{
"url" : "https://lists.debian.org/debian-lts-announce/2023/01/msg00012.html" ,
"source" : "cve@mitre.org" ,
"tags" : [
"Mailing List" ,
"Third Party Advisory"
]
} ,
{
2023-11-07 21:03:21 +00:00
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/" ,
2023-11-17 21:00:29 +00:00
"source" : "cve@mitre.org" ,
"tags" : [
"Mailing List"
]
2023-04-24 12:24:31 +02:00
} ,
{
2023-11-07 21:03:21 +00:00
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G4YNBTTKTRT2ME3NTSXAPTOKYUE47XHZ/" ,
2023-11-17 21:00:29 +00:00
"source" : "cve@mitre.org" ,
"tags" : [
"Mailing List"
]
2023-04-24 12:24:31 +02:00
} ,
2023-05-03 16:01:03 +02:00
{
"url" : "https://security.gentoo.org/glsa/202305-12" ,
2023-11-17 21:00:29 +00:00
"source" : "cve@mitre.org" ,
"tags" : [
"Third Party Advisory"
]
2023-05-03 16:01:03 +02:00
} ,
2023-04-24 12:24:31 +02:00
{
"url" : "https://security.netapp.com/advisory/ntap-20230127-0015/" ,
"source" : "cve@mitre.org" ,
"tags" : [
"Third Party Advisory"
]
} ,
2023-09-06 10:00:28 +00:00
{
"url" : "https://support.apple.com/kb/HT213758" ,
2023-11-17 21:00:29 +00:00
"source" : "cve@mitre.org" ,
"tags" : [
"Third Party Advisory"
]
2023-09-06 10:00:28 +00:00
} ,
2023-04-24 12:24:31 +02:00
{
"url" : "https://www.debian.org/security/2023/dsa-5321" ,
"source" : "cve@mitre.org" ,
"tags" : [
"Third Party Advisory"
]
} ,
{
"url" : "https://www.sudo.ws/security/advisories/sudoedit_any/" ,
"source" : "cve@mitre.org" ,
"tags" : [
"Exploit" ,
"Mitigation" ,
"Vendor Advisory"
]
} ,
{
"url" : "https://www.synacktiv.com/sites/default/files/2023-01/sudo-CVE-2023-22809.pdf" ,
"source" : "cve@mitre.org" ,
"tags" : [
"Exploit" ,
"Mitigation" ,
"Technical Description" ,
"Third Party Advisory"
]
}
]
}