CVE-2017-5648: Exposure of Resource to Wrong Sphere in Apache Tomcat

Summary

13/05/2022
Yes i
Critical
9.1

CVE-2017-5648: Exposure of Resource to Wrong Sphere in Apache Tomcat. Affects org.apache.tomcat:tomcat-catalina across 4 version ranges.

>= 7.0.0, < 7.0.76 >= 8.0.0, < 8.0.42 >= 8.5.0, < 8.5.13 >= 9.0.0.M1, < 9.0.0.M18

Fixed in 4 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 Penetration testing for web, API and mobile 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 Servlet and JavaServer Pages (JSP) environment for running web applications. Apache Tomcat is widely used and offers various features and functionalities for web application development and deployment. However, it is vulnerable to the exposure of resources to the wrong sphere.

Vulnerability Detail

The vulnerability in Apache Tomcat (versions 7.0.0 to 7.0.75, 8.0.0.RC1 to 8.0.41, 8.5.0 to 8.5.11, and 9.0.0.M1 to 9.0.0.M17) allows untrusted applications running under a SecurityManager to access and modify information associated with another web application. This occurs due to some calls to application listeners not using the appropriate facade object. As a result, an attacker can exploit this vulnerability to gain unauthorized access to sensitive information or modify data of other web applications.

How To Fix

Fixed versions by release line

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

  • >= 7.0.0, < 7.0.76 7.0.76
  • >= 8.0.0, < 8.0.42 8.0.42
  • >= 8.5.0, < 8.5.13 8.5.13
  • >= 9.0.0.M1, < 9.0.0.M18 9.0.0.M18

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

Workaround

If upgrading Apache Tomcat is not immediately feasible, a workaround can be implemented by disabling the SecurityManager or restricting access to sensitive resources. However, this workaround may have implications on the overall security of the system and should be carefully evaluated before implementation.

Conclusion

The exposure of resources to the wrong sphere vulnerability in Apache Tomcat can lead to unauthorized access and data manipulation. It is crucial to upgrade to the recommended versions or apply the provided workarounds to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

Apache Tomcat is an open-source web server and servlet container used for deploying Java-based web applications.

The vulnerability affects Apache Tomcat versions 7.0.0 to 7.0.75, 8.0.0.RC1 to 8.0.41, 8.5.0 to 8.5.11, and 9.0.0.M1 to 9.0.0.M17.

The vulnerability allows untrusted applications to access and modify information associated with other web applications, potentially leading to unauthorized access or data manipulation.

To fix this vulnerability, it is recommended to upgrade Apache Tomcat to version 7.0.76, 8.0.42, 8.5.13, or 9.0.0.M18 or later.

A workaround can be implemented by disabling the SecurityManager or restricting access to sensitive resources, but it may have implications on overall system security.

Related vulnerabilities

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

How To Fix

Fixed versions by release line

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

  • >= 7.0.0, < 7.0.76 7.0.76
  • >= 8.0.0, < 8.0.42 8.0.42
  • >= 8.5.0, < 8.5.13 8.5.13
  • >= 9.0.0.M1, < 9.0.0.M18 9.0.0.M18

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