CVE-2024-25400
Executive Summary
CVE-2024-25400 is a disputed SQL Injection vulnerability reported in Subrion CMS version 4.2.1. The original claim points to the file ia.core.mysqli.php as the vulnerable component, but multiple third parties dispute this because the file only contains a class definition without any mechanism for accepting external input, and the reportedly vulnerable method is not present in the file. The CVSS score is 0.0, and the EPSS score is 0.0%, indicating no active exploitation in the wild. No official patch has been released, and the vulnerability remains unconfirmed.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
CVSS Breakdown & Threat Level
- CVSS Score: 0.0 (None)
- Vector: UNKNOWN
- Attack Vector: N/A
- Attack Complexity: N/A
- Privileges Required: N/A
- User Interaction: N/A
- Scope: N/A
- Confidentiality Impact: N/A
- Integrity Impact: N/A
- Availability Impact: N/A
- Threat Level: Low (Disputed, no evidence of exploitability)
Deep Dive & Mechanics
The vulnerability was reported to exist in ia.core.mysqli.php within Subrion CMS 4.2.1. However, analysis of the file reveals it contains only a class definition for database interaction, with no direct input handling or HTTP request processing. The specific method claimed to be vulnerable is not present in the file. This discrepancy has led to the dispute. Without a clear attack vector or proof of concept, the vulnerability is considered unconfirmed. The lack of external input handling in the file makes SQL injection unlikely unless there is a chained attack through other components.
Vulnerable vs. Patched Code
Since the vulnerability is disputed and no patch exists, there is no patched code to compare. The file ia.core.mysqli.php in version 4.2.1 is the same as in any other version, as it only contains a class definition. No code changes have been made to address this CVE.
Exploitation & Lab Setup
Red Team
No exploit code is available for this CVE. Attempts to exploit would require identifying a different attack vector, as the reported file does not accept external input. Red teamers should focus on other known vulnerabilities in Subrion CMS or conduct further analysis to confirm the claim.
Blue Team
Blue teamers should monitor for any unusual database queries or SQL injection attempts targeting Subrion CMS instances. Since the vulnerability is disputed, prioritize patching other known vulnerabilities and ensure input validation is robust across all components.
Indicators of Compromise (IOCs)
No specific IOCs are available for this CVE due to the lack of confirmed exploitation. General indicators of SQL injection attempts include:
- Unusual SQL error messages in logs
- Abnormal database query patterns
- Unexpected HTTP requests with SQL-like payloads
Detection Engineering
YARA Rule
rule CVE_2024_25400_Subrion_SQLI {
meta:
description = "Detects potential SQL injection attempts targeting Subrion CMS ia.core.mysqli.php"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2024-25400"
strings:
$sqli1 = "SELECT" nocase
$sqli2 = "UNION" nocase
$sqli3 = "DROP" nocase
$sqli4 = "INSERT" nocase
$sqli5 = "DELETE" nocase
$sqli6 = "OR 1=1" nocase
$sqli7 = "admin" nocase
condition:
any of ($sqli*) and filesize < 10KB
}
Sigma Rule
title: Potential SQL Injection Attempt on Subrion CMS
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects SQL injection attempts targeting Subrion CMS ia.core.mysqli.php
author: Valters IT
date: 2025-04-10
references:
- https://nvd.nist.gov/vuln/detail/CVE-2024-25400
logsource:
category: webserver
product: apache
service: access_log
detection:
selection:
cs-uri-query|contains:
- "SELECT"
- "UNION"
- "DROP"
- "INSERT"
- "DELETE"
- "OR 1=1"
- "admin"
condition: selection
falsepositives:
- Legitimate database queries
level: medium
Suricata Rule
alert http any any -> any any (msg:"CVE-2024-25400 Potential SQL Injection on Subrion CMS"; flow:to_server,established; content:"ia.core.mysqli.php"; http_uri; content:"SELECT" or content:"UNION" or content:"DROP" or content:"INSERT" or content:"DELETE" or content:"OR 1=1" or content:"admin"; http_uri; classtype:web-application-attack; sid:1000001; rev:1;)
Remediation & Mitigation
Since the vulnerability is disputed and no patch is available, the following mitigations are recommended:
- Input Validation: Ensure all user inputs are properly sanitized and parameterized queries are used across the entire application.
- Web Application Firewall (WAF): Deploy a WAF to filter out SQL injection patterns.
- Monitor Logs: Regularly review web server and database logs for suspicious activity.
- Update: If a patch becomes available, apply it immediately. Consider upgrading to a newer version of Subrion CMS if supported.
- Dispute Verification: Conduct internal security testing to confirm or refute the vulnerability claim.
Valters IT
Securing Digital Frontiers
What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.