S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Dec 16, 2023

CVE-2019-0221 Scanner

CVE-2019-0221 scanner - Cross-Site Scripting (XSS) vulnerability in Apache Tomcat

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
2.6k
Times Used
continuous scan runs
4.3k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2019-0221
6.1
CVSS

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 by default. The printenv command is intended for debugging and is unlikely to be present in a production website.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
Apache Tomcatby Apache
Apache Tomcat 9.0.0.M1 to 9.0.0.17
Updated Aug 21, 2026View on NVD →
Detail

Apache Tomcat is a web server used to execute Java servlets and JavaServer Pages (JSPs). It is widely used by web developers and organizations to host their websites and web applications. The server is an open-source software that can be downloaded and installed on any operating system.

Recently, Apache Tomcat has been found to have a vulnerability known as CVE-2019-0221. The flaw has been detected in versions 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39, and 7.0.0 to 7.0.93. The SSI printenv command, a debugging feature in Tomcat, is the cause of the vulnerability. The issue occurs because the printenv command fails to escape user-provided data before echoing it back to the user. Thus, it allows attackers to inject malicious scripts into web pages viewed by other users.

In the event that the vulnerability is exploited, it can lead to a cross-site scripting (XSS) attack. Such an attack can allow hackers to steal sensitive user data, such as login credentials and credit card information. Additionally, XSS can be used to launch further attacks on the victim's machine or network.

In conclusion, vulnerabilities in web servers such as Apache Tomcat can pose a significant risk to online security. But fortunately, websites and applications can be secured with the help of specialized tools like s4e.io. Users of this platform can receive real-time alerts about vulnerabilities in their digital assets, as well as expert advice on how to mitigate them. By using this service, organizations can ensure that their online presence remains secure and protected from cyber threats.

 

REFERENCES

Solution Advice

To protect against this vulnerability, users of Apache Tomcat are advised to take the following precautions:

  • Upgrade to a patched version of Tomcat (9.0.0.18, 8.5.40, or 7.0.94).
  • Disable SSI if not required for the website or application.
  • Filter user input by encoding special characters such as < and > before processing it.
  • Apply strict Content Security Policies (CSPs) to prevent the execution of malicious scripts.
  • Implement a web application firewall that can detect and block XSS attacks.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2019-0221 scanner - Cross-Site Scripting (XSS) vulnerability in Apache Tomcat | S4E