Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2018-1270 EUVD-2018-0646GHSA-p5hg-3xm3-gcjg

Spring Framework allows applications to expose STOMP over WebSocket endpoints

Published Apr 6, 2018 · Updated Oct 8, 2026 · Assigned by dell

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.

Affected products

VendorProductAffectedFixed
Spring by Pivotal Spring Framework Versions prior to 5.0.5 and 4.3.15 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libspring-java 4.3.19-1 —
Debian 13 libspring-java 4.3.19-1 —
Debian 12 libspring-java 4.3.19-1 —
Debian 9 libspring-java 4.3.5-1+deb9u1 DLA-2635-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libspring-java 4.3.22-1~18.04 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 4 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework:spring-messaging >= 5.0.0.RELEASE, < 5.0.5.RELEASE 5.0.5.RELEASE GHSA-p5hg-3xm3-gcjg
Maven org.springframework:spring-messaging < 4.3.16.RELEASE 4.3.16.RELEASE GHSA-p5hg-3xm3-gcjg

Advisories 2

References