Security Vulnerability Report
中文
CVE-2025-52666 CVSS 2.7 LOW

CVE-2025-52666

Published: 2025-11-20 20:16:23
Last Modified: 2025-12-02 20:31:30

Description

Improper neutralisation of format characters in the settings of Revive Adserver 5.5.2 and 6.0.1 and earlier versions causes an administrator user to disable the admin user console due to a fatal PHP error.

CVSS Details

CVSS Score
2.7
Severity
LOW
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L

Configurations (Affected Products)

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

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-52666 PoC - Revive Adserver Format String Vulnerability * This PoC demonstrates the format string injection in settings * * Note: Requires admin privileges to inject malicious settings * * Attack Vector: * 1. Attacker with admin access modifies system settings * 2. Injects format string characters (e.g., %s%s%s) into vulnerable parameter * 3. When system processes settings, format string is interpreted * 4. Fatal PHP error occurs, disabling admin console */ // Example of vulnerable code pattern (what the PoC demonstrates) $vulnerable_param = $_POST['setting_value']; // User input $format_string = "%s%s%s%s"; // Malicious format string injection // VULNERABLE: Direct use of user input in format function // $output = sprintf($format_string, $vulnerable_param); // FIXED: Proper input validation and parameterization // $safe_value = preg_replace('/[%\[\]{}()\\]/', '', $vulnerable_param); // $output = sprintf("%s", $safe_value); echo "CVE-2025-52666 Format String Injection PoC\n"; echo "Target: Revive Adserver < 5.5.2, < 6.0.1\n"; echo "Payload: Inject format string in settings parameter\n"; echo "Result: Fatal PHP error -> Admin console disabled\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-52666", "sourceIdentifier": "[email protected]", "published": "2025-11-20T20:16:22.687", "lastModified": "2025-12-02T20:31:30.340", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper neutralisation of format characters in the settings of Revive Adserver 5.5.2 and 6.0.1 and earlier versions causes an administrator user to disable the admin user console due to a fatal PHP error."}], "metrics": {"cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L", "baseScore": 2.7, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.2, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-134"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:revive-adserver:revive_adserver:*:*:*:*:*:*:*:*", "versionEndIncluding": "5.5.2", "matchCriteriaId": "47AC2D81-BA0C-404A-B6F6-31151956D422"}, {"vulnerable": true, "criteria": "cpe:2.3:a:revive-adserver:revive_adserver:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.0.0", "versionEndIncluding": "6.0.1", "matchCriteriaId": "42E4B7BD-5F7B-4FBE-93D2-C19F30FA5A51"}]}]}], "references": [{"url": "https://hackerone.com/reports/3399218", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Third Party Advisory"]}, {"url": "https://hackerone.com/reports/3399218", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Issue Tracking", "Third Party Advisory"]}]}}