cbcvebase.
CVE-2018-1273
published 2018-04-11

CVE-2018-1273: 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…

PriorityP1100critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
KEVITWEXPLOITRansomwareInitial access
CISA Known Exploited Vulnerabilitydue 2022-04-15
Exploited in the wild
EPSS
95.65%
99.9th percentile
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

12 ranges
VendorProductVersion rangeFixed in
apacheignite
apacheignite
apacheignite1.0.1 – 2.5.0
broadcomspring_data_commons<= 1.12.10
broadcomspring_data_commons1.13.0 – 1.13.10
broadcomspring_data_commons2.0.0 – 2.0.5
oraclefinancial_services_crime_and_compliance_management_studio
oraclefinancial_services_crime_and_compliance_management_studio
pivotal_softwarespring_data_rest3.0.0 – 3.0.5
spring_by_pivotalspring_framework
vmwarespring_data_rest<= 2.5.10
vmwarespring_data_rest2.6.0 – 2.6.10

Detection & IOCsextracted from sources · hover to see the quote

commandPOST /account HTTP/1.1 Content-Type: application/x-www-form-urlencoded name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('{{url_encode(command)}}')]={{to_lower(rand_text_alpha(5))}}
url/account
hashbbd6839074adea734213cc5e40a0dbb31c4c36df5a5bc1040757d6baec3f8415
hashe2f1be608c2cece021e68056f2897d88ed855bafd457e07e62533db6dfdc00dc
hash191f1126f42b1b94ec248a7bbb60b354f2066b45287cd1bdb23bd39da7002a8c
hash2bcc9fff40053ab356ddde6de55077f8bf83d8dfa6d129c250f521eb170dc123
hash9a181c6a1748a9cfb46751a2cd2b27e3e742914873de40402b5d40f334d5448c
hash5fe3b0ba0680498dbf52fb8f0ffc316f3a4d7e8202b3ec710b2ae63e70c83b90
hash7b08a8dae39049aecedd9679301805583a77a4271fddbafa105fa3b1b507baa3
ip45.76.122.92
ip207.148.70.143
ip101.200.48.68
ip117.205.7.194
ip107.182.183.206
ip124.43.19.159
ip139.99.131.57
ip179.50.196.228
ip185.165.116.144
ip189.201.192.242
ip191.189.30.112
ip192.210.198.50
ip195.201.169.194
ip216.15.146.34
ip43.240.65.121
ip45.76.136.196
ip45.76.178.34
ip52.8.60.118
ip54.70.161.251
ip139.159.218.82
ip202.109.143.110
ip216.176.179.106
ip125.231.139.75
ip36.235.171.244
ip104.203.170.1
port8506
port9090
urlhttp://45.76.122.92:8506/IOFoqIgyC0zmf2UR/uuu.sh
path/tmp/sssooo
snort
46473
yara
id: CVE-2018-1273 — Nuclei template matching POST /account with name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec(...)] parameter and response regex root:.*:0:0: or \[(font|extension|file)s\]
  • Exploit payloads for CVE-2018-1273 are delivered via HTTPS to targeted Spring Data REST endpoints; look for POST requests to /account (or similar Spring Data REST paths) with parameter names containing SpEL expressions such as #this.getClass().forName('java.lang.Runtime').getRuntime().exec(...)
  • The exploits for CVE-2018-1273 are sent, typically via HTTPS, to the targeted systems as part of a multi-exploit UPX-packed ELF dropper that also targets CVE-2018-7600 and CVE-2017-10271
  • Use Snort rule SID 46473 to detect CVE-2018-1273 exploitation attempts
  • HTTP response body matching regex root:.*:0:0: (Linux /etc/passwd) or \[(font|extension|file)s\] (Windows win.ini) indicates successful RCE via CVE-2018-1273
  • Content-Type: application/x-www-form-urlencoded with SpEL injection in parameter name brackets is the attack vector; monitor for bracket-notation parameter names containing Java reflection calls in POST bodies to Spring Data REST endpoints
  • ·Affected versions are Spring Data Commons 1.13.x prior to 1.13.10 and 2.0.x prior to 2.0.5; older unsupported versions are also vulnerable
  • ·The Snort rule SID 46473 is subject to change; always refer to the latest Firepower Management Center or Snort.org for the most current rule

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vulncheck9.8CRITICAL
cisa9.8CRITICAL
vendor_oracle9.8CRITICAL
vendor_redhat9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.