WaratekVRT Sign in

CVE-2018-1270 Spring Framework

Affected softwareSpring Framework
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in5.0.5.RELEASE, 4.3.16.RELEASE
WeaknessCode injection (CWE-94)
Published6 Apr 2018
Updated13 Nov 2026

Description

Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow 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 remote code execution attack.

CWE-358

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 2 indexed Published artifacts you can open, in GitHub PoC; first seen 2018-04-07.
  • EPSS 78% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.6% of all scored CVEs.

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Spring messaging STOMP protocol RCE 113 2018-04-07
GitHub PoC CVE-2018-1270 表达式RCE环境 2018-12-17

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A researcher's recorded decision for this specific CVE
Finding A researcher found this CVE protected by the ARMR Process PROTECT rule.

Waratek research note

written 2026-11-13

Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.

Comments

Rule Name: ARMR Process PROTECT rule

Rule example

app("Process forking mod"):
    requires(version: ARMR/2.8)
    process("Protect executable in a specific directory"):
        execute("/tmp/*")
        protect(message: "denying attempt to execute processes inside specific directory", severity: 10)
    endprocess
endapp

How to mitigate CVE-2018-1270

Upgrade Spring Framework to a release that fixes it: 5.0.5.RELEASE or 4.3.16.RELEASE. Until you can, Waratek RASP blocks exploitation with its process rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework:spring-messaging 5.0.0.RELEASE 5.0.5.RELEASE unbounded
org.springframework:spring-messaging 0 4.3.16.RELEASE unbounded

Products and versions

29 products, 72 version entries
SourceVendorProductSchemeAffected versions
nvd debian debian linux generic 9.0
nvd oracle application testing suite generic 12.5.0.3 · 13.1.0.1 · 13.2.0.1 · 13.3.0.1
nvd oracle big data discovery generic 1.6.0
nvd oracle communications converged application server generic < 7.0.0.1
nvd oracle communications diameter signaling router generic < 8.3
nvd oracle communications performance intelligence center generic < 10.2.1
nvd oracle communications services gatekeeper generic < 6.1.0.4.0
nvd oracle enterprise manager ops center generic 12.2.2 · 12.3.3
nvd oracle goldengate for big data generic 12.2.0.1 · 12.3.1.1 · 12.3.2.1
nvd oracle health sciences information manager generic 3.0
nvd oracle healthcare master person index generic 3.0 · 4.0
nvd oracle insurance calculation engine generic 10.1.1 · 10.2 · 10.2.1
nvd oracle insurance rules palette generic 10.0 · 10.1 · 10.2 · 11.0 · 11.1
nvd oracle primavera gateway generic 15.2 · 16.2 · 17.12
nvd oracle retail back office generic 14.0 · 14.1
nvd oracle retail central office generic 14.0 · 14.1
nvd oracle retail customer insights generic 15.0 · 16.0
nvd oracle retail integration bus generic 14.0.1 · 14.0.2 · 14.0.3 · 14.0.4 · 14.1.1 · 14.1.2 · 14.1.3 · 15.0.0.1 · 15.0.1 · 15.0.2 · 16.0 · 16.0.1 · 16.0.2
nvd oracle retail open commerce platform generic 5.3.0 · 6.0.0 · 6.0.1
nvd oracle retail order broker generic 5.1 · 5.2 · 15.0 · 16.0
nvd oracle retail point-of-sale generic 14.0 · 14.1
nvd oracle retail predictive application server generic 14.0 · 14.1 · 15.0 · 16.0
nvd oracle retail returns management generic 14.0 · 14.1
nvd oracle retail xstore point of service generic 7.1
nvd oracle service architecture leveraging tuxedo generic 12.1.3.0.0 · 12.2.2.0.0
nvd oracle tape library acsls generic 8.4
osv org.springframework spring-messaging generic < 4.3.16 · ≥ 5.0.0 and < 5.0.5
nvd redhat fuse generic 1.0.0
nvd vmware spring framework generic < 4.3.16 · ≥ 5.0.0 and < 5.0.5

References

URLTags
https://github.com/spring-projects/spring-framework/commit/0009806debb578e884f6dc98bd1f2dc668020021 WEB
https://github.com/spring-projects/spring-framework/commit/e0de9126ed8cf25cf141d3e66420da94e350708a WEB
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html WEB
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html WEB
https://www.oracle.com/security-alerts/cpuoct2021.html WEB
https://www.oracle.com/security-alerts/cpujul2020.html WEB
https://www.exploit-db.com/exploits/44796 WEB
https://web.archive.org/web/20200227125035/https://www.securityfocus.com/bid/103696 WEB
https://pivotal.io/security/cve-2018-1270 WEB
https://lists.debian.org/debian-lts-announce/2021/04/msg00022.html WEB

Timeline

Published2018-04-06By the CVE Program.
NVD record modified2026-10-08NVD's own last-modified date for this record.
Classification created2026-11-13First commit adding this CVE's research note.
Last VRT activity2026-11-13Most recent commit touching this CVE's classification, patch or rule file.