cve/2019/CVE-2019-12761.md

19 lines
861 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2019-12761](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12761)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba
- https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562
#### Github
No PoCs found on GitHub currently.