Vulnerability CVE-2019-12761


Published: 2019-06-06

Description:
A code injection issue was discovered in PyXDG before 0.26 via crafted Python code in a Category element of a Menu XML document in a .menu file. XDG_CONFIG_DIRS must be set up to trigger xdg.Menu.parse parsing within the directory containing this file. This is due to a lack of sanitization in xdg/Menu.py before an eval call.

Type:

CWE-91

(XML Injection (aka Blind XPath Injection))

CVSS2 => (AV:N/AC:H/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
5.1/10
6.4/10
4.9/10
Exploit range
Attack complexity
Authentication
Remote
High
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Python -> Pyxdg 

 References:
https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba
https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html
https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562

Copyright 2020, cxsecurity.com

 

Back to Top