CVE Tools

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

Public exploit available. Not confirmed exploited in the wild yet. A vendor fix is available.

Published Updated Sources: CVE.org, NVD, GitHub, BDU

What to do

The vendor has published a fix. Version details are below where the sources state them.

Steps

Written by AI from the record
  1. Check your Apache Tomcat version and whether SSI is enabled (and the SSI printenv command is reachable/used).
  2. If you’re on a fixed-safe version already, stop; otherwise plan an upgrade.
  3. 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).
  4. After upgrading, verify the SSI “printenv” behavior in a test environment (ensure user input is not reflected as executable script).

What it is

From the CVE record

Cross-site scripting in Apache Tomcat

In plain language

Written by AI from the record

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

If you're affected

  • Customer session hijacking risk
  • Website content manipulation
  • Trust and brand damage
  • Potential malware delivery

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS99th
Public exploit
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

1 source with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

59% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Attention now

Rising.

Real risk signals with little public attention so far.

Lifecycle

The patch came 471 days before any public exploit.

  1. EPSS band changemoderate → highepss band change
  2. EPSS band changehigh → moderateepss band change
  3. EPSS band changemoderate → highepss band change
  4. EPSS band changehigh → moderateepss band change
  5. EPSS band changemoderate → highepss band change
  6. EPSS band changehigh → moderateepss band change

Affected products

Technical detail

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Scored 6.1 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction RequiredA user must click a link, open a file, or perform some action

Scope

  • Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)

Impact if exploited

  • Confidentiality LowSome restricted information is disclosed, but limited in scope
  • Integrity LowData modification is possible but limited in scope or consequence
  • Availability NoneNo availability impact

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Maven, not every advisory. This one: public exploit.

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store