cbcvebase.
CVE-2020-1745
published 2020-04-28

CVE-2020-1745: A file inclusion vulnerability was found in the AJP connector enabled with a default AJP configuration port of 8009 in Undertow version 2.0.29.Final and before…

PriorityP266critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
4.84%
91.0th percentile
A file inclusion vulnerability was found in the AJP connector enabled with a default AJP configuration port of 8009 in Undertow version 2.0.29.Final and before and was fixed in 2.0.30.Final. A remote, unauthenticated attacker could exploit this vulnerability to read web application files from a vulnerable server. In instances where the vulnerable server allows file uploads, an attacker could upload malicious JavaServer Pages (JSP) code within a variety of file types and trigger this vulnerability to gain remote code execution.

Affected

4 ranges
VendorProductVersion rangeFixed in
debianundertow< undertow 2.0.30-1 (forky)undertow 2.0.30-1 (forky)
redhatundertow<= 2.0.29
redhatundertow>= 0 < 2.0.30-12.0.30-1
undertow-ioundertow<= 2.0.29.Final

Detection & IOCsextracted from sources · hover to see the quote

port8009
  • Monitor for unauthenticated inbound connections to TCP port 8009 (AJP connector default port) on Undertow servers running version 2.0.29.Final or earlier; this port is the attack vector for CVE-2020-1745.
  • Detect potential RCE exploitation attempts by monitoring for JSP file uploads followed by AJP requests that trigger file inclusion — attackers upload malicious JSP code within various file types and then trigger the vulnerability.
  • Alert on any external/untrusted network access to the AJP port (8009); AJP connections are treated with higher trust than HTTP by the server, making exposure to untrusted users the primary risk condition.
  • ·The AJP connector on port 8009 is enabled by default in vulnerable Undertow versions (≤2.0.29.Final); defenders should verify whether this port is exposed and disable or restrict it if AJP is not required.
  • ·Red Hat JBoss Fuse 6 camel-undertow is noted as low impact because it only supports HTTP & HTTPS and does not create an AJP listener, so AJP-based detections would not apply there.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_debian8.6HIGH
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.