CVE-2016-9878: Path Traversal

Published Dec 22, 2016
·
Updated

An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.

Other sources

It was found that paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.

Upstream bug:

https://jira.spring.io/browse/SPR-14946

Upstream patches:

https://github.com/spring-projects/spring-framework/commit/e2d6e709c3c65a4951eb096843ee75d5200cfcad https://github.com/spring-projects/spring-framework/commit/43bf008fbcd0d7945e2fcd5e30039bc4d74c7a98 https://github.com/spring-projects/spring-framework/commit/a7dc48534ea501525f11369d369178a60c2f47d0

External References:

https://pivotal.io/security/cve-2016-9878

Red Hat

Pivotal Spring Framework could allow a remote attacker to traverse directories on the system, caused by the failure to sanitize paths provided to ResourceServlet. An attacker could send a specially-crafted URL request containing directory traversal sequences to view arbitrary files on the system.

IBM

Affected Software

39 affected componentsFixes available
redhat/Spring Framework<3.2.18
3.2.18
redhat/Spring Framework<4.2.9
4.2.9
redhat/Spring Framework<4.3.5
4.3.5
maven/org.springframework:spring-webmvc>=4.3.0<4.3.5
4.3.5
maven/org.springframework:spring-webmvc>=4.2.0<4.2.9
4.2.9
maven/org.springframework:spring-webmvc<3.2.18
3.2.18
Pivotal Software Spring Framework<=3.2.0
Pivotal Software Spring Framework=4.2.0
Pivotal Software Spring Framework=4.3.0
VMware Spring Framework=3.2.1
VMware Spring Framework=3.2.2
VMware Spring Framework=3.2.3
VMware Spring Framework=3.2.4
VMware Spring Framework=3.2.5
VMware Spring Framework=3.2.6
VMware Spring Framework=3.2.7
VMware Spring Framework=3.2.8
VMware Spring Framework=3.2.9
VMware Spring Framework=3.2.10
VMware Spring Framework=3.2.11
VMware Spring Framework=3.2.12
VMware Spring Framework=3.2.13
VMware Spring Framework=3.2.14
VMware Spring Framework=3.2.15
VMware Spring Framework=3.2.16
VMware Spring Framework=3.2.17
VMware Spring Framework=4.2.1
VMware Spring Framework=4.2.2
VMware Spring Framework=4.2.3
VMware Spring Framework=4.2.4
VMware Spring Framework=4.2.5
VMware Spring Framework=4.2.6
VMware Spring Framework=4.2.7
VMware Spring Framework=4.2.8
VMware Spring Framework=4.3.1
VMware Spring Framework=4.3.2
VMware Spring Framework=4.3.3
VMware Spring Framework=4.3.4
IBM GDE<=3.0.0.2

Event History

Dec 22, 2016
Data Sourced
via Red Hat·10:59 AM
DescriptionSeverityAffected Software
Dec 29, 2016
CVE Published
via MITRE·09:02 AM
Data Sourced
via MITRE·09:02 AM
DescriptionWeakness
Oct 4, 2018
Advisory Published
via GitHub·08:29 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue in Pivotal Spring Framework?

The vulnerability ID for this issue in Pivotal Spring Framework is CVE-2016-9878.

2

What is the severity of CVE-2016-9878?

The severity of CVE-2016-9878 is high with a CVSS score of 7.5.

3

How does CVE-2016-9878 impact Pivotal Spring Framework?

CVE-2016-9878 allows a remote attacker to traverse directories on the system and view arbitrary files.

4

Which versions of Pivotal Spring Framework are affected by CVE-2016-9878?

Versions 3.2.0 to 3.2.18, 4.2.0 to 4.2.9, and 4.3.0 to 4.3.5 of Pivotal Spring Framework are affected by CVE-2016-9878.

5

How can I fix CVE-2016-9878 in Pivotal Spring Framework?

To fix CVE-2016-9878, update Pivotal Spring Framework to version 3.2.18, 4.2.9, or 4.3.5.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203