Spring Framework up to 4.3.16/5.0.5 STOMP Regular Expression input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Spring Framework up to 4.3.16/5.0.5. It has been rated as problematic. Affected by this issue is some unknown functionality of the component STOMP. The manipulation as part of Regular Expression leads to input validation. This vulnerability is referenced as CVE-2018-1257. Remote exploitation of the attack is possible. No exploit is available. Upgrading the affected component is advised.
Details
A vulnerability was found in Spring Framework up to 4.3.16/5.0.5 and classified as problematic. This issue affects an unknown function of the component STOMP. The manipulation as part of a Regular Expression leads to a input validation vulnerability. Using CWE to declare the problem leads to CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. Impacted is availability. The summary by CVE is:
Spring Framework, versions 5.0.x prior to 5.0.6, versions 4.3.x prior to 4.3.17, and older unsupported versions allows applications to expose STOMP over WebSocket endpoints with a simple, in-memory STOMP broker through the spring-messaging module. A malicious user (or attacker) can craft a message to the broker that can lead to a regular expression, denial of service attack.
The bug was discovered 05/09/2018. The weakness was published 05/11/2018 by Muneaki Nishimura (Website). It is possible to read the advisory at pivotal.io. The identification of this vulnerability is CVE-2018-1257 since 12/06/2017. The exploitation is known to be easy. The attack may be initiated remotely. The successful exploitation requires a simple authentication. The technical details are unknown and an exploit is not publicly available.
The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 253353 (Linux Distros Unpatched Vulnerability : CVE-2018-1257), which helps to determine the existence of the flaw in a target environment. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370944 (Pivotal Spring Framework STOMP Messaging ReDoS Vulnerability).
Upgrading to version 4.3.17 or 5.0.6 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (253353) and SecurityFocus (BID 104260†). Similar entries are available at VDB-90449, VDB-91385, VDB-91680 and VDB-91681. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Name
Version
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 4.3.12
- 4.3.13
- 4.3.14
- 4.3.15
- 4.3.16
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 253353
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2018-1257
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Spring Framework 4.3.17/5.0.6
Timeline
12/06/2017 🔍05/09/2018 🔍
05/09/2018 🔍
05/11/2018 🔍
05/11/2018 🔍
05/12/2018 🔍
08/21/2025 🔍
Sources
Advisory: RHSA-2018:1809Researcher: Muneaki Nishimura
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2018-1257 (🔍)
GCVE (CVE): GCVE-0-2018-1257
GCVE (VulDB): GCVE-100-117635
SecurityFocus: 104260 - Spring Framework CVE-2018-1257 Denial-Of-Service Vulnerability
See also: 🔍
Entry
Created: 05/12/2018 08:53Updated: 08/21/2025 16:58
Changes: 05/12/2018 08:53 (63), 02/04/2020 15:41 (5), 03/13/2023 06:31 (4), 08/21/2025 16:58 (19)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.