Debian update for yaws



Published: 2020-10-17
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 (Debian package)
Operating systems & Components / Operating system package or component

Vendor Debian

Security Advisory

1) XML External Entity injection

Risk: Medium

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

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

Update yaws package to version 2.0.6+dfsg-1+deb10u1.

Vulnerable software versions

yaws (Debian package): 1.85-1, 1.86-1, 1.86-2, 1.87-1, 1.88-1, 1.88-2, 1.88-2+squeeze1, 1.89-1, 1.90-1, 1.90-2, 1.91-1, 1.91-2, 1.91-3, 1.92-1, 1.92-2, 1.92-3, 1.92-4, 1.93-1, 1.93-2, 1.94-1, 1.95-1, 1.96-1, 1.96-2, 1.96-3, 1.96-4, 1.97-1, 1.97-2, 1.98, 1.98-1, 1.98-2, 1.98-3, 1.98-4, 1.98-4+deb8u1, 1.98-5, 1.99-1, 1.99-2, 2.0.2-1, 2.0.2-2, 2.0.3+dfsg-1, 2.0.3-1, 2.0.3-2, 2.0.4+dfsg, 2.0.4+dfsg-1, 2.0.4+dfsg-1~bpo8+1, 2.0.4+dfsg-2, 2.0.4+dfsg-3, 2.0.5+dfsg-1, 2.0.6+dfsg, 2.0.6+dfsg-1, 2.0.6+dfsg-3, 2.0.7+dfsg, 2.0.7+dfsg-1, 2.0.7+dfsg-2

CPE External links

https://www.debian.org/security/2020/dsa-4773

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

Risk: High

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

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

Update yaws package to version 2.0.6+dfsg-1+deb10u1.

Vulnerable software versions

yaws (Debian package): 1.85-1, 1.86-1, 1.86-2, 1.87-1, 1.88-1, 1.88-2, 1.88-2+squeeze1, 1.89-1, 1.90-1, 1.90-2, 1.91-1, 1.91-2, 1.91-3, 1.92-1, 1.92-2, 1.92-3, 1.92-4, 1.93-1, 1.93-2, 1.94-1, 1.95-1, 1.96-1, 1.96-2, 1.96-3, 1.96-4, 1.97-1, 1.97-2, 1.98, 1.98-1, 1.98-2, 1.98-3, 1.98-4, 1.98-4+deb8u1, 1.98-5, 1.99-1, 1.99-2, 2.0.2-1, 2.0.2-2, 2.0.3+dfsg-1, 2.0.3-1, 2.0.3-2, 2.0.4+dfsg, 2.0.4+dfsg-1, 2.0.4+dfsg-1~bpo8+1, 2.0.4+dfsg-2, 2.0.4+dfsg-3, 2.0.5+dfsg-1, 2.0.6+dfsg, 2.0.6+dfsg-1, 2.0.6+dfsg-3, 2.0.7+dfsg, 2.0.7+dfsg-1, 2.0.7+dfsg-2

CPE External links

https://www.debian.org/security/2020/dsa-4773

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.