CVE-2020-24916
published 2020-09-09CVE-2020-24916: CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.
PriorityP273critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
17.37%
96.7th percentile
CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | yaws | < yaws 2.0.8+dfsg-1 (bookworm) | yaws 2.0.8+dfsg-1 (bookworm) |
| yaws | yaws | >= 0 < 2.0.8+dfsg-1 | 2.0.8+dfsg-1 |
| yaws | yaws | >= 0 < 2.0.8+dfsg-1 | 2.0.8+dfsg-1 |
| yaws | yaws | >= 0 < 2.0.8+dfsg-1 | 2.0.8+dfsg-1 |
| yaws | yaws | >= 0 < 2.0.8+dfsg-1 | 2.0.8+dfsg-1 |
| yaws | yaws | >= 0 < 2.0.4+dfsg-2ubuntu0.1 | 2.0.4+dfsg-2ubuntu0.1 |
| yaws | yaws | 1.81 – 2.0.7 | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Target: Yaws web server CGI implementation versions 1.81 through 2.0.7 are vulnerable to OS command injection via CGI script handling. ↗
- →Monitor HTTP requests to Yaws CGI endpoints for shell metacharacters or command injection payloads in user-supplied input fields. ↗
- ·Fixed in Yaws version 2.0.8; upgrade to 2.0.8+dfsg-1 or later on Debian-based systems to remediate. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-962f-382j-8f7x: CGI implementation in Yaws web server versions 1
ghsa_unreviewed·2022-05-24
CVE-2020-24916 [HIGH] CWE-78 GHSA-962f-382j-8f7x: CGI implementation in Yaws web server versions 1
CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.
OSV
yaws vulnerabilities
osv·2020-10-05·CVSS 9.8
CVE-2020-24379 [CRITICAL] yaws vulnerabilities
yaws vulnerabilities
It was discovered that Yaws did not properly sanitize XML input. A remote
attacker could use this vulnerability to execute an XML External Entity
(XXE) injection attack. (CVE-2020-24379)
It was discovered that Yaws mishandled certain input when running CGI
scripts. A remote attacker could use this vulnerability to execute
arbitrary commands. (CVE-2020-24916)
OSV
CVE-2020-24916: CGI implementation in Yaws web server versions 1
osv·2020-09-09·CVSS 9.8
CVE-2020-24916 [CRITICAL] CVE-2020-24916: CGI implementation in Yaws web server versions 1
CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.
Ubuntu
Yaws vulnerabilities
vendor_ubuntu·2020-10-05·CVSS 9.8
CVE-2020-24916 [CRITICAL] Yaws vulnerabilities
Title: Yaws vulnerabilities
Summary: Several security issues were fixed in Yaws.
It was discovered that Yaws did not properly sanitize XML input. A remote
attacker could use this vulnerability to execute an XML External Entity
(XXE) injection attack. (CVE-2020-24379)
It was discovered that Yaws mishandled certain input when running CGI
scripts. A remote attacker could use this vulnerability to execute
arbitrary commands. (CVE-2020-24916)
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2020-24916: yaws - CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS...
vendor_debian·2020·CVSS 9.8
CVE-2020-24916 [CRITICAL] CVE-2020-24916: yaws - CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS...
CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.
Scope: local
bookworm: resolved (fixed in 2.0.8+dfsg-1)
bullseye: resolved (fixed in 2.0.8+dfsg-1)
forky: resolved (fixed in 2.0.8+dfsg-1)
sid: resolved (fixed in 2.0.8+dfsg-1)
trixie: resolved (fixed in 2.0.8+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-24916 yaws: OS command injection possible in CGI implementation
bugzilla·2020-09-14·CVSS 9.8
CVE-2020-24916 [CRITICAL] CVE-2020-24916 yaws: OS command injection possible in CGI implementation
CVE-2020-24916 yaws: OS command injection possible in CGI implementation
CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.
Reference:
https://github.com/erlyaws/yaws/commits/master
https://github.com/vulnbe/poc-yaws-cgi-shell-injection
Discussion:
Created yaws tracking bugs for this issue:
Affects: epel-7 [bug 1878668]
Affects: fedora-31 [bug 1878667]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.
Bugzilla
CVE-2020-24916 yaws: OS command injection possible in CGI implementation [epel-7]
bugzilla·2020-09-14·CVSS 9.8
CVE-2020-24916 [CRITICAL] CVE-2020-24916 yaws: OS command injection possible in CGI implementation [epel-7]
CVE-2020-24916 yaws: OS command injection possible in CGI implementation [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for the '
Bugzilla
CVE-2020-24916 yaws: OS command injection possible in CGI implementation [fedora-31]
bugzilla·2020-09-14·CVSS 9.8
CVE-2020-24916 [CRITICAL] CVE-2020-24916 yaws: OS command injection possible in CGI implementation [fedora-31]
CVE-2020-24916 yaws: OS command injection possible in CGI implementation [fedora-31]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-31.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for
https://github.com/erlyaws/yaws/commits/masterhttps://github.com/vulnbe/poc-yaws-cgi-shell-injectionhttps://lists.debian.org/debian-lts-announce/2020/09/msg00022.htmlhttps://packetstormsecurity.com/files/159106/Yaws-2.0.7-XML-Injection-Command-Injection.htmlhttps://usn.ubuntu.com/4569-1/https://vuln.be/post/yaws-xxe-and-shell-injections/https://www.debian.org/security/2020/dsa-4773https://github.com/erlyaws/yaws/commits/masterhttps://github.com/vulnbe/poc-yaws-cgi-shell-injectionhttps://lists.debian.org/debian-lts-announce/2020/09/msg00022.htmlhttps://packetstormsecurity.com/files/159106/Yaws-2.0.7-XML-Injection-Command-Injection.htmlhttps://usn.ubuntu.com/4569-1/https://vuln.be/post/yaws-xxe-and-shell-injections/https://www.debian.org/security/2020/dsa-4773
2020-09-09
Published