All reports
Low

Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat

Affected versions

Affected versions
>= 7.0.0, < 7.0.4
Fixed version
7.0.4
Affected versions
>= 6.0.0, < 6.0.30
Fixed version
6.0.30
Affected versions
>= 5.5.0, < 5.5.30
Fixed version
5.5.30

Exploitation

CVE-2010-3718

Probability of exploitation in the next 30 days: 1.30%

FIRST EPSS · 2026-11-21

Description

Apache Tomcat 7.0.0 through 7.0.3, 6.0.x, and 5.5.x, when running within a SecurityManager, does not make the ServletContext attribute read-only, which allows local web applications to read or write files outside of the intended working directory, as demonstrated using a directory traversal attack.

Links

Credits

  • oliverchang
  • sunSUNQ