National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2016-9879 Detail

Current Description

An issue was discovered in Pivotal Spring Security before 3.2.10, 4.1.x before 4.1.4, and 4.2.x before 4.2.1. Spring Security does not consider URL path parameters when processing security constraints. By adding a URL path parameter with an encoded "/" to a request, an attacker may be able to bypass a security constraint. The root cause of this issue is a lack of clarity regarding the handling of path parameters in the Servlet Specification. Some Servlet containers include path parameters in the value returned for getPathInfo() and some do not. Spring Security uses the value returned by getPathInfo() as part of the process of mapping requests to security constraints. The unexpected presence of path parameters can cause a constraint to be bypassed. Users of Apache Tomcat (all current versions) are not affected by this vulnerability since Tomcat follows the guidance previously provided by the Servlet Expert group and strips path parameters from the value returned by getContextPath(), getServletPath(), and getPathInfo(). Users of other Servlet containers based on Apache Tomcat may or may not be affected depending on whether or not the handling of path parameters has been modified. Users of IBM WebSphere Application Server 8.5.x are known to be affected. Users of other containers that implement the Servlet specification may be affected.

Source:  MITRE
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (V3 legend)
Impact Score: 3.6
Exploitability Score: 3.9


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): None
Integrity (I): High
Availability (A): None

CVSS v2.0 Severity and Metrics:

Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:N/I:P/A:N) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): None
Integrity (I): Partial
Availability (A): None
Additional Information:
Allows unauthorized modification

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.securityfocus.com/bid/95142
https://access.redhat.com/errata/RHSA-2017:1832
https://pivotal.io/security/cve-2016-9879 Mailing List Vendor Advisory

Technical Details

Vulnerability Type (View All)

  • Channel and Path Errors (CWE-417)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:pivotal_software:spring_security:3.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:3.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:3.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:3.2.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:3.2.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:3.2.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:3.2.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:3.2.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:3.2.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:3.2.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:4.1.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:4.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:4.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:4.1.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:pivotal_software:spring_security:4.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:a:ibm:websphere_application_server:8.5.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.5.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.5.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.5.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.5.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.5.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.5.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.5.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.5.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.5.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ibm:websphere_application_server:8.5.5.9:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

3 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2016-9879
NVD Published Date:
01/06/2017
NVD Last Modified:
01/04/2018