CVE-2016-6816: Improper Input Validation in Apache Tomcat

Summary

13/05/2022
Yes i
High
7.1

CVE-2016-6816: Improper Input Validation in Apache Tomcat. Affects org.apache.tomcat:tomcat-coyote across 5 version ranges.

>= 6.0.0, < 6.0.48 >= 7.0.0, < 7.0.73 >= 8.0.0RC1, < 8.0.39 >= 8.5.0, < 8.5.8 >= 9.0.0.M1, < 9.0.0.M12

Fixed in 5 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Tomcat is an open-source web server and servlet container that is used to deploy Java-based web applications. It provides a Java HTTP web server environment for running Java code. The vulnerability identified as CVE-2016-6816 affects Apache Tomcat versions 9.0.0.M1 to 9.0.0.M11, 8.5.0 to 8.5.6, 8.0.0.RC1 to 8.0.38, 7.0.0 to 7.0.72, and 6.0.0 to 6.0.47. This vulnerability arises from improper input validation in the code that parses the HTTP request line. It allows for the presence of invalid characters, which can be exploited in conjunction with a proxy that also permits these invalid characters but with a different interpretation. This can lead to various attacks, including web-cache poisoning, cross-site scripting (XSS), and unauthorized access to sensitive information from requests other than the attacker's own.

Vulnerability Detail

The vulnerability in Apache Tomcat arises from the improper input validation in the code that parses the HTTP request line. This allows for the presence of invalid characters, which can be exploited in conjunction with a proxy that also permits these invalid characters but with a different interpretation. By manipulating the HTTP response, an attacker can poison a web-cache, perform cross-site scripting (XSS) attacks, and gain access to sensitive information from requests other than their own. This vulnerability has a CVSS score of 7.1, indicating a high severity level.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 6.0.0, < 6.0.48 6.0.48
  • >= 7.0.0, < 7.0.73 7.0.73
  • >= 8.0.0RC1, < 8.0.39 8.0.39
  • >= 8.5.0, < 8.5.8 8.5.8
  • >= 9.0.0.M1, < 9.0.0.M12 9.0.0.M12

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in Apache Tomcat (CVE-2016-6816) arises from improper input validation in the code that parses the HTTP request line. It allows for the presence of invalid characters, which can be exploited to perform various attacks. To mitigate this vulnerability, it is recommended to upgrade to the fixed versions of Apache Tomcat. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for org.apache.tomcat:tomcat-coyote →

Share this vulnerability

FAQ

Apache Tomcat is an open-source web server and servlet container that is used to deploy Java-based web applications.

The vulnerability affects Apache Tomcat versions 9.0.0.M1 to 9.0.0.M11, 8.5.0 to 8.5.6, 8.0.0.RC1 to 8.0.38, 7.0.0 to 7.0.72, and 6.0.0 to 6.0.47.

This vulnerability can be exploited to perform web-cache poisoning, cross-site scripting (XSS) attacks, and gain unauthorized access to sensitive information from requests other than the attacker's own.

The CVSS score of this vulnerability is 7.1, indicating a high severity level.

To fix this vulnerability, it is recommended to upgrade to the fixed versions of Apache Tomcat.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.tomcat:tomcat-coyote.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 6.0.0, < 6.0.48 6.0.48
  • >= 7.0.0, < 7.0.73 7.0.73
  • >= 8.0.0RC1, < 8.0.39 8.0.39
  • >= 8.5.0, < 8.5.8 8.5.8
  • >= 9.0.0.M1, < 9.0.0.M12 9.0.0.M12

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.