#VU47119 XML External Entity injection in Yaws


Published: 2020-09-09 | Updated: 2020-09-27

Vulnerability identifier: #VU47119

Vulnerability risk: Medium

CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-24379

CWE-ID: CWE-611

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Yaws
Other software / Other software solutions

Vendor: yaws.hyber.org

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of user-supplied XML input within WebDAV implementation in Yaws web server A remote attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.

Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Yaws: 1.81 - 2.0.7


External links
http://github.com/erlyaws/yaws/commits/master
http://github.com/vulnbe/poc-yaws-dav-xxe
http://lists.debian.org/debian-lts-announce/2020/09/msg00022.html
http://packetstormsecurity.com/files/159106/Yaws-2.0.7-XML-Injection-Command-Injection.html
http://vuln.be/post/yaws-xxe-and-shell-injections/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability