CVE-2019-16941

NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files feature of Bit Patterns Explorer is used with a modified XML document. This occurs in Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java. An attack could start with an XML document that was originally created by DumpFunctionPatternInfoScript but then directly modified by an attacker (for example, to make a java.lang.Runtime.exec call).
Configurations

Configuration 1 (hide)

cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*

History

21 Nov 2024, 04:31

Type Values Removed Values Added
References () https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188 - Third Party Advisory () https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188 - Third Party Advisory
References () https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0 - () https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0 -
References () https://github.com/NationalSecurityAgency/ghidra/issues/1090 - Exploit, Issue Tracking, Patch, Third Party Advisory () https://github.com/NationalSecurityAgency/ghidra/issues/1090 - Exploit, Issue Tracking, Patch, Third Party Advisory
References () https://github.com/purpleracc00n/CVE-2019-16941 - () https://github.com/purpleracc00n/CVE-2019-16941 -
References () https://twitter.com/NSAGov/status/1178812792159248385 - () https://twitter.com/NSAGov/status/1178812792159248385 -
References () https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories - () https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories -

Information

Published : 2019-09-28 16:15

Updated : 2024-11-21 04:31


NVD link : CVE-2019-16941

Mitre link : CVE-2019-16941

CVE.ORG link : CVE-2019-16941


JSON object : View

Products Affected

nsa

  • ghidra
CWE
CWE-91

XML Injection (aka Blind XPath Injection)