Apache Tomcat code execution in AJP connector
Overview
When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Tomcat treats AJP connections as having higher trust than, for example, a similar HTTP connection. If such connections are available to an attacker, they can be exploited in ways that may be surprising. In Apache Tomcat 9.0.0.M1 to 9.0.0.30, 8.5.0 to 8.5.50 and 7.0.0 to 7.0.99, Tomcat shipped with an AJP Connector enabled by default that listened on all configured IP addresses. It was expected (and recommended in the security guide) that this Connector would be disabled if not required. This vulnerability report identified a mechanism that allowed: - returning arbitrary files from anywhere in the web application - processing any file in the web application as a JSP Further, if the web application allowed file upload and stored those files within the web application (or the attacker was able to control the content of the web application by some other means) then this, along with the ability to process a file as a JSP, made remote code execution possible. It is important to note that mitigation is only required if an AJP port is accessible to untrusted users. Users wishing to take a defence-in-depth approach and block the vector that permits returning arbitrary files and execution as JSP may upgrade to Apache Tomcat 9.0.31, 8.5.51 or 7.0.100 or later. A number of changes were made to the default AJP Connector configuration in 9.0.31 to harden the default configuration. It is likely that users upgrading to 9.0.31, 8.5.51 or 7.0.100 or later will need to make small changes to their configurations.
- Published
- 2/24/2020
- Last modified
- 8/25/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
Known exploited · CISA KEV
The source record flags evidence of exploitation in the wild. Whether a specific system is affected depends on the product, version, and advisory conditions.
Added to KEV: Not available
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
geode apache | 1.12.0 | Verify advisory | Source |
tomcat apache | ≥ 7.0.0, < 7.0.100 | Verify advisory | Source |
tomcat apache | ≥ 8.5.0, < 8.5.51 | Verify advisory | Source |
tomcat apache | ≥ 9.0.0, < 9.0.31 | Verify advisory | Source |
fedora fedoraproject | 30 | Verify advisory | Source |
fedora fedoraproject | 31 | Verify advisory | Source |
fedora fedoraproject | 32 | Verify advisory | Source |
agile engineering data management oracle | 6.2.1.0 | Verify advisory | Source |
agile product lifecycle management oracle | 9.3.3 | Verify advisory | Source |
agile product lifecycle management oracle | 9.3.5 | Verify advisory | Source |
agile product lifecycle management oracle | 9.3.6 | Verify advisory | Source |
communications element manager oracle | 8.1.1 | Verify advisory | Source |
communications element manager oracle | 8.2.0 | Verify advisory | Source |
communications element manager oracle | 8.2.1 | Verify advisory | Source |
communications instant messaging server oracle | 10.0.1.4.0 | Verify advisory | Source |
health sciences empirica inspections oracle | 1.0.1.2 | Verify advisory | Source |
health sciences empirica signal oracle | 7.3.3 | Verify advisory | Source |
hospitality guest access oracle | 4.2.0 | Verify advisory | Source |
hospitality guest access oracle | 4.2.1 | Verify advisory | Source |
instantis enterprisetrack oracle | ≥ 17.1, ≤ 17.3 | Verify advisory | Source |
mysql enterprise monitor oracle | ≤ 4.0.12 | Verify advisory | Source |
mysql enterprise monitor oracle | ≥ 8.0.0, ≤ 8.0.20 | Verify advisory | Source |
siebel ui framework oracle | ≤ 20.5 | Verify advisory | Source |
transportation management oracle | 6.3.7 | Verify advisory | Source |
workload manager oracle | 12.2.0.1 | Verify advisory | Source |
workload manager oracle | 18c | Verify advisory | Source |
workload manager oracle | 19c | Verify advisory | Source |
debian linux debian | 8.0 | Verify advisory | Source |
debian linux debian | 9.0 | Verify advisory | Source |
debian linux debian | 10.0 | Verify advisory | Source |
leap opensuse | 15.1 | Verify advisory | Source |
good control blackberry | ≤ 5.2.58.38 | Verify advisory | Source |
workspaces server blackberry | 7.0.1 | Verify advisory | Source |
workspaces server blackberry | 7.1.2 | Verify advisory | Source |
workspaces server blackberry | 8.1.0 | Verify advisory | Source |
workspaces server blackberry | 9.0 | Verify advisory | Source |
data availability services netapp | Range not specified — verify advisory | Verify advisory | Source |
oncommand system manager netapp | ≥ 3.0.0, ≤ 3.1.3 | Verify advisory | Source |
Apache Tomcat Apache | Apache Tomcat 9.0.0.M1 to 9.0.0.30 | Verify advisory | Source |
Apache Tomcat Apache | 8.5.0 to 8.5.50 | Verify advisory | Source |
Apache Tomcat Apache | 7.0.0 to 7.0.99 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.