Access Restriction Bypass Affecting tomcat package, versions [,6.0.36)[7.0.0,7.0.30)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TOMCAT-2382466
  • published26 Jan 2022
  • disclosed19 Dec 2012
  • creditUnknown

Introduced: 19 Dec 2012

CVE-2012-3546  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade tomcat to version 6.0.36, 7.0.30 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass org/apache/catalina/realm/RealmBase.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.30, when FORM authentication is used, allows remote attackers to bypass security-constraint checks by leveraging a previous setUserPrincipal call and then placing /j_security_check at the end of a URI.

CVSS Scores

version 3.1