OS Command Injection in Yaws - CVE-2020-24916

 

OS Command Injection in Yaws - CVE-2020-24916

Published: September 9, 2020 / Updated: September 27, 2020


Vulnerability identifier: #VU47120
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-24916
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Yaws
Arch Linux
Ubuntu
yaws (Debian package)
erlang-yapp (Ubuntu package)
erlang-yaws (Ubuntu package)
yaws (Ubuntu package)
yaws-mail (Ubuntu package)

How to mitigate CVE-2020-24916

Install updates from vendor's website.

Yaws - update to 2.0.8
yaws (Debian package) - update to 2.0.6+dfsg-1+deb10u1
erlang-yapp (Ubuntu package) - update to 2.0.4+dfsg-2ubuntu0.1
erlang-yaws (Ubuntu package) - update to 2.0.4+dfsg-2ubuntu0.1
yaws (Ubuntu package) - update to 2.0.4+dfsg-2ubuntu0.1
yaws-mail (Ubuntu package) - update to 2.0.4+dfsg-2ubuntu0.1

External References

Related Security Bulletins