XML injection in PyXDG



Published: 2019-06-06 | Updated: 2021-03-03
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-12761
CWE-ID CWE-91
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
pyxdg
Other software / Other software solutions

Vendor

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) XML injection

EUVDB-ID: #VU51178

Risk: Medium

CVSSv3.1: 6.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2019-12761

CWE-ID: CWE-91 - XML Injection

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation when processing XML data in xdg/Menu.py before an eval call. A remote unauthenticated attacker can pass specially crafted XML data to the application and perform arbitrary actions on the system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

pyxdg: before 0.26

External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###