CVE-2019-0221
The SSI printenv command in Apache Tomcat 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 echoes user provided data without escaping and is, therefore, vulnerable to XSS. SSI is disabled ...
Description
Cross-site scripting in Apache Tomcat
In plain language
AI Worth attentionCVE-2019-0221 is a web-site scripting flaw in Apache Tomcat (certain older versions) where Tomcat can reflect user input back into pages; most small businesses should update if they run Tomcat with SSI enabled, because it can let an attacker run browser scripts.
CVE-2019-0221 is a cross-site scripting (XSS) issue in Apache Tomcat’s SSI (Server Side Includes) “printenv” command on affected versions (7.0.0–7.0.93, 8.5.0–8.5.39, 9.0.0.M1–9.0.0.17), where user-controlled content is echoed without proper escaping; a crafted request can cause a victim’s browser to execute injected script in the context of the site.
What to do now
- Check your Apache Tomcat version and whether SSI is enabled (and the SSI printenv command is reachable/used).
- If you’re on a fixed-safe version already, stop; otherwise plan an upgrade.
- Upgrade Apache Tomcat components to the fixed versions: Tomcat 9.0.17, Tomcat 8.5.40, or Tomcat 7.0.94 (match the line you’re running).
- After upgrading, verify the SSI “printenv” behavior in a test environment (ensure user input is not reflected as executable script).
CVSS Vector Breakdown
AV:NAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:RUser InteractionS:CScopeC:LConfidentialityI:LIntegrityA:NAvailabilityWeaknesses
Affected Products
Exploitability
Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.
View exploit detailsAttack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
2 techniquesReferences
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2019-0221 and every CVE in our database. Create a free account — no credit card required.
Create Free Account