SB2020092709 - Multiple vulnerabilities in Yaws
Published: September 27, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) XML External Entity injection (CVE-ID: CVE-2020-24379)
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.
2) OS Command Injection (CVE-ID: CVE-2020-24916)
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation within CGI implementation in Yaws web server. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
Install update from vendor's website.
References
- https://github.com/erlyaws/yaws/commits/master
- https://github.com/vulnbe/poc-yaws-dav-xxe
- https://lists.debian.org/debian-lts-announce/2020/09/msg00022.html
- https://packetstormsecurity.com/files/159106/Yaws-2.0.7-XML-Injection-Command-Injection.html
- https://vuln.be/post/yaws-xxe-and-shell-injections/
- https://github.com/vulnbe/poc-yaws-cgi-shell-injection