CVE-2018-1199: Input Validation

Published Jan 29, 2018
·
Updated

Pivotal Spring Security and Spring Framework could allow a remote attacker to bypass security restrictions, caused by the failure to consider URL path parameters when processing security constraints. By adding a URL path parameter with special encodings, an attacker could exploit this vulnerability to bypass access restrictions and gain access to the server and obtain sensitive information.

Other sources

Spring Framework and Spring Security do not consider URL path parameters when processing security constraints. By adding a URL path parameter with special encodings, an attacker may be able to bypass a security constraint and access Spring MVC static resource URLs.

Affected versions include: Spring Security 4.1.0 - 4.1.4, 4.2.0 - 4.2.3 and 5.0 Spring Framework 4.3.0 - 4.3.14, and 5.0.0 - 5.0.2

Older unmaintained versions of Spring Security and Spring Framework may also be affected.

External References:

https://pivotal.io/security/cve-2018-1199

Mitigation:

As a general precaution, users are encouraged to separate public and private resources. For example, separating static resources and mapping them to /resources/public/ and /resources/private/ is preferred to having one common root with mixed public and private resource content underneath.

Red Hat

Spring Security (Spring Security 4.1.x before 4.1.5, 4.2.x before 4.2.4, and 5.0.x before 5.0.1; and Spring Framework 4.3.x before 4.3.14 and 5.0.x before 5.0.3) does not consider URL path parameters when processing security constraints. By adding a URL path parameter with special encodings, 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. In this particular attack, different character encodings used in path parameters allows secured Spring MVC static resource URLs to be bypassed.

Affected Software

20 affected componentsFixes available
redhat/springframework<5.0.3
5.0.3
redhat/springframework<4.3.14
4.3.14
redhat/springframework-security<5.0.1
5.0.1
redhat/springframework-security<4.2.4
4.2.4
redhat/springframework-security<4.1.5
4.1.5
maven/org.springframework.security:spring-security-core>=5.0.0<5.0.1
5.0.1
maven/org.springframework.security:spring-security-core>=4.2.0<4.2.4
4.2.4
maven/org.springframework.security:spring-security-core>=4.1.0<4.1.5
4.1.5
maven/org.springframework:spring-core>=5.0.0<5.0.3
5.0.3
maven/org.springframework:spring-core>=4.3.0<4.3.14
4.3.14
VMware Spring Framework>=4.3.0<4.3.14
VMware Spring Framework>=5.0.0<5.0.3
VMware Spring Security>=4.1.0<4.1.5
VMware Spring Security>=4.2.0<4.2.4
VMware Spring Security>=5.0.0<5.0.1
redhat Fuse=1.0
Oracle Rapid Planning=12.1
Oracle Rapid Planning=12.2
Oracle Retail Xstore Point of Service=7.1
IBM GDE<=3.0.0.2

Remediation

Information

As a general precaution, users are encouraged to separate public and private resources. For example, separating static resources and mapping them to /resources/public/** and /resources/private/** is preferred to having one common root with mixed public and private resource content underneath.

Event History

Jan 29, 2018
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 30, 2018
Data Sourced
via Red Hat·06:32 AM
DescriptionSeverityAffected Software
Mar 16, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionWeakness
Oct 17, 2018
Advisory Published
via GitHub·08:01 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 security issue?

The vulnerability ID for this security issue is CVE-2018-1199.

2

What is the severity of CVE-2018-1199?

The severity of CVE-2018-1199 is high, with a severity value of 7.5.

3

Which software is affected by CVE-2018-1199?

The software affected by CVE-2018-1199 includes Pivotal Spring Security (versions before 4.1.5, 4.2.4, and 5.0.1) and Spring Framework (versions before 4.3.14 and 5.0.3).

4

How can a remote attacker exploit CVE-2018-1199?

A remote attacker can exploit CVE-2018-1199 by bypassing security restrictions and adding a URL path parameter with special encodings.

5

Are there any references for more information about CVE-2018-1199?

Yes, you can find more information about CVE-2018-1199 at the following references: [link1](https://pivotal.io/security/cve-2018-1199), [link2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1540033), [link3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1540032).

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