🔙 목록으로 돌아가기

CVE-2022-46888: NexusPHP <1.7.33 - Cross-Site Scripting

TitleNexusPHP <1.7.33 - Cross-Site Scripting
Authorr3Y3r53
SeverityMedium
ImpactAttackers can inject malicious JavaScript through multiple parameters including secret in login.php, potentially stealing session cookies and credentials when users interact with crafted URLs in NexusPHP.
RemediationUpgrade to NexusPHP version 1.7.33 or later to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.16278
CVE IDCVE-2022-46888
CWE IDCWE-79
Shodan Queryhttp.favicon.hash:-582931176cpe:"cpe:2.3:a:nexusphp:nexusphp"
Fofa Queryicon_hash=-582931176
Tags cve cve2022 nexus php nexusphp xss vuln

🔍 Vulnerability Description

NexusPHP before 1.7.33 contains multiple cross-site scripting vulnerabilities via the secret parameter in /login.php; q parameter in /user-ban-log.php; query parameter in /log.php; text parameter in /moresmiles.php; q parameter in myhr.php; or id parameter in /viewrequests.php. An attacker can inject arbitrary web script or HTML, which can allow theft of cookie-based authentication credentials and launch of other attacks..

🌐 HTTP Request

GET /login.php?secret="><script>alert(document.domain)</script> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:138.0) Gecko/20100101 Firefox/138.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-46888.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