CVE-2019-25366

8.2 HIGH

📋 TL;DR

CVE-2019-25366 is an SQL injection vulnerability in microASP Portal+ CMS that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code into the explode_tree parameter. This enables attackers to extract sensitive database information like database names, potentially leading to full database compromise. All users running vulnerable versions of microASP Portal+ CMS are affected.

💻 Affected Systems

Products:
  • microASP Portal+ CMS
Versions: All versions prior to patch (specific version range not publicly documented)
Operating Systems: All platforms running the CMS
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the pagina.phtml file and is exploitable via web requests to that endpoint.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including extraction of all sensitive data (user credentials, personal information, configuration secrets), potential remote code execution via database functions, and full system takeover.

🟠

Likely Case

Database information disclosure including database names, table structures, and potentially sensitive application data stored in the database.

🟢

If Mitigated

Limited impact with proper input validation and parameterized queries preventing SQL injection, though the vulnerable code path remains present.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: CONFIRMED
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploit code is publicly available on Exploit-DB (ID: 46799) and requires minimal technical skill to execute.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Not specifically documented in public sources

Vendor Advisory: http://www.microasp.it/

Restart Required: No

Instructions:

1. Contact microASP for patched version 2. Replace vulnerable pagina.phtml file 3. Implement input validation for explode_tree parameter 4. Use parameterized queries for database operations

🔧 Temporary Workarounds

Web Application Firewall (WAF) Rules

all

Implement WAF rules to block SQL injection patterns targeting pagina.phtml with explode_tree parameter

Input Validation Filter

all

Add server-side validation to reject malicious characters in explode_tree parameter

🧯 If You Can't Patch

  • Block external access to pagina.phtml via network firewall or web server configuration
  • Implement strict input validation and parameterized queries in the application code

🔍 How to Verify

Check if Vulnerable:

Send crafted request to /pagina.phtml with SQL injection payload in explode_tree parameter and check for database error responses or information disclosure

Check Version:

Check CMS version in administration panel or configuration files

Verify Fix Applied:

Test the same exploit payload after patching - should return generic error or no database information

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests to pagina.phtml containing SQL keywords (SELECT, UNION, CONCAT, EXTRACTVALUE)
  • Database error messages in web server logs
  • Unusual parameter values in explode_tree parameter

Network Indicators:

  • HTTP POST/GET requests to pagina.phtml with SQL injection patterns
  • Multiple rapid requests to the vulnerable endpoint

SIEM Query:

source="web_logs" AND uri="/pagina.phtml" AND (param="explode_tree" AND value MATCHES "(?i)(SELECT|UNION|CONCAT|EXTRACTVALUE)")

🔗 References

📤 Share & Export