CVE-2025-52671

4.3 MEDIUM

📋 TL;DR

This vulnerability allows non-admin users to view detailed debug information in SQL error messages, revealing software, PHP, and database version details. It affects Revive Adserver versions 5.5.2, 6.0.1, and earlier. This information disclosure could aid attackers in planning further attacks.

💻 Affected Systems

Products:
  • Revive Adserver
Versions: 5.5.2, 6.0.1 and earlier versions
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all installations with default configurations where non-admin users can trigger SQL errors.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers use disclosed version information to identify and exploit other known vulnerabilities in the exposed software stack, potentially leading to full system compromise.

🟠

Likely Case

Attackers gather intelligence about the software environment to plan targeted attacks using known exploits for specific versions.

🟢

If Mitigated

Limited to information gathering only, with no direct system access or data breach.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: NO
Unauthenticated Exploit: ✅ No
Complexity: LOW

Requires non-admin user access to trigger SQL errors that reveal debug information.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 5.5.2 and 6.0.1

Vendor Advisory: https://hackerone.com/reports/3403450

Restart Required: No

Instructions:

1. Upgrade to the latest Revive Adserver version. 2. Apply any available security patches from the vendor. 3. Verify debug information is no longer exposed to non-admin users.

🔧 Temporary Workarounds

Disable debug error messages

all

Configure PHP to suppress detailed error messages in production environments

php.ini: display_errors = Off
php.ini: log_errors = On
php.ini: error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

🧯 If You Can't Patch

  • Restrict non-admin user access to minimize exposure
  • Implement web application firewall rules to filter error messages containing version information

🔍 How to Verify

Check if Vulnerable:

Login as non-admin user and trigger SQL errors to see if detailed debug information including version details is displayed.

Check Version:

Check Revive Adserver admin panel or version.php file for current version

Verify Fix Applied:

After patching, verify that SQL error messages no longer reveal software, PHP, or database version information to non-admin users.

📡 Detection & Monitoring

Log Indicators:

  • SQL error messages in application logs containing version information
  • Multiple SQL error requests from non-admin users

Network Indicators:

  • HTTP responses containing detailed SQL error messages with version strings

SIEM Query:

source="revive_adserver.log" AND "SQL error" AND ("PHP" OR "version" OR "database")

🔗 References

📤 Share & Export