7.5
HIGH
CVE-2016-9879
Apache Tomcat Servlet Path Parameter Bypass in Pivotal Spring Security
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.

INFO

Published Date :

Jan. 6, 2017, 10:59 p.m.

Last Modified :

June 8, 2021, 6:22 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2016-9879 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-9879 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ibm websphere_application_server
1 Vmware spring_security
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-9879.

URL 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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Cyber Securiy MOOC Unsecure project

Java HTML

Updated: 2 years, 2 months ago
1 stars 1 fork 1 watcher
Born at : Dec. 29, 2019, 12:57 p.m. This repo has been linked 70 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-9879 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-9879 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.2:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:3.2.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.4:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:3.2.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.5:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:3.2.5:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.0:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:3.2.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.3:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:3.2.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.1:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:3.2.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.6:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:3.2.6:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.9:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:3.2.9:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:4.1.3:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:4.1.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.8:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:3.2.8:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.7:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:3.2.7:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:4.1.2:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:4.1.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:4.1.0:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:4.1.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:4.1.1:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:4.1.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Jun. 08, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:4.2.0:*:*:*:*:*:*:* OR *cpe:2.3:a:vmware:spring_security:4.2.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:1832 [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 11, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/95142 [No Types Assigned]
  • Initial Analysis by [email protected]

    Jan. 11, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://pivotal.io/security/cve-2016-9879 No Types Assigned https://pivotal.io/security/cve-2016-9879 Mailing List, Vendor Advisory
    Added CWE CWE-417
    Added CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:3.2.0:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:3.2.1:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:3.2.2:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:3.2.3:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:3.2.4:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:3.2.5:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:3.2.6:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:3.2.7:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:3.2.8:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:3.2.9:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:4.1.0:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:4.1.1:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:4.1.2:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:4.1.3:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_security:4.2.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:ibm:websphere_application_server:8.5.0.0:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.0.1:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.0.2:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.5.0:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.5.1:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.5.2:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.5.3:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.5.4:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.5.5:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.5.6:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.5.7:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.5.8:*:*:*:*:*:*:* *cpe:2.3:a:ibm:websphere_application_server:8.5.5.9:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-9879 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-9879 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.12 }} 0.00%

score

0.44579

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability