Multiple vulnerabilities in Yaws



Published: 2020-09-27
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-24379
CVE-2020-24916
CWE-ID CWE-611
CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Yaws
Other software / Other software solutions

Vendor yaws.hyber.org

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) XML External Entity injection

EUVDB-ID: #VU47119

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 - Improper Restriction of XML External Entity Reference ('XXE')

Exploit availability: No

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.

2) OS Command Injection

EUVDB-ID: #VU47120

Risk: High

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

CVE-ID: CVE-2020-24916

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

Description

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.

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-cgi-shell-injection
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 non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###