Vulnerability · Published Apr 28, 2020 · Assigned by redhat
CVE-2020-1745
High 8.6
In plain English
A high-severity security flaw in undertow from undertow-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.0% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | undertow | 2.0.30-1 | DEBIAN-CVE-2020-1745 |
| Maven | io.undertow:undertow-core | 2.0.30 | GHSA-gv2w-88hx-8m9r |
| Ubuntu:25.10 | undertow | no fix listed | UBUNTU-CVE-2020-1745 |
| Ubuntu:26.04:LTS | undertow | no fix listed | UBUNTU-CVE-2020-1745 |
| Ubuntu:26.10 | undertow | no fix listed | UBUNTU-CVE-2020-1745 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| undertow-io | undertow | <= 2.0.29.Final |
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
References
- https://meterpreter.org/cve-2020-1938-apache-tomcat-ajp-connector-remote-code-execution-vulnerability-alert/
- https://www.tenable.com/blog/cve-2020-1938-ghostcat-apache-tomcat-ajp-file-readinclusion-vulnerability-cnvd-2020-10487
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1745
- https://www.cnvd.org.cn/webinfo/show/5415
- https://security.netapp.com/advisory/ntap-20240216-0011/