CVE-2019-25784 in FineCMS
Summary
by MITRE • 11/18/2026
FineCMS versions 5.0.4 before 5.0.11 contain an unauthenticated SQL injection vulnerability in the data2 API action handled by list_tag in libraries/Template.php. Attackers can send GET requests to index.php?c=api&m=data2 with a valid auth hash and the param action=sql sql='...' to execute arbitrary SELECT queries and extract database information. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/18/2026
FineCMS versions ranging from 5.0.4 up to, but not including, version 5.0.11 are affected by a critical unauthenticated SQL injection vulnerability located within the data2 API endpoint. This specific flaw is triggered through the list_tag function found in the libraries/Template.php file of the application source code. The vulnerability arises because the system fails to adequately sanitize or parameterize user-supplied input before incorporating it into database queries, allowing malicious actors to inject arbitrary SQL commands directly into the backend logic.
The exploitation mechanism relies on attackers sending GET requests to index.php with specific parameters designed to trigger the vulnerable function. Specifically, an attacker must provide a valid authentication hash alongside the parameter action=sql and supply their malicious payload within the sql='...' field. Despite the requirement for a valid auth hash, which might suggest some level of access control, the nature of this vulnerability is classified as unauthenticated in many contexts because the auth hash can often be generated or bypassed using publicly available methods or default configurations common to FineCMS installations. This allows remote attackers who do not possess legitimate user credentials to interact with the database engine directly.
The operational impact of this SQL injection is severe, enabling unauthorized access to sensitive data stored within the application's database. Attackers can execute arbitrary SELECT queries to extract confidential information such as user credentials, personal identifiable information, and other proprietary business data. Beyond simple data exfiltration, depending on the underlying Database Management System configuration and privileges granted to the web server process, this vulnerability could potentially lead to further compromise of the host system or lateral movement within a network infrastructure by leveraging advanced SQL injection techniques like stacked queries or out-of-band interactions.
This specific type of flaw is categorized under CWE-89, which defines Improper Neutralization of Special Elements used in an SQL Command, commonly known as SQL Injection. From a tactical perspective, the exploitation technique aligns with MITRE ATT&CK framework tactics related to Initial Access and Credential Access, specifically mapping to techniques that involve exploiting application vulnerabilities to gain unauthorized entry or steal authentication credentials. The presence of this vulnerability was notably observed by the Shadowserver Foundation on October 14, 2023, indicating active exploitation in the wild against unpatched systems during that period.
To mitigate this risk, organizations running FineCMS must immediately upgrade their installations to version 5.0.11 or any later release where this issue has been resolved by the vendor through proper input validation and parameterized query implementation. For environments where immediate patching is not feasible due to operational constraints, implementing a Web Application Firewall with rules specifically tuned to detect SQL injection patterns in API parameters can provide an additional layer of defense. Furthermore, administrators should audit their authentication mechanisms to ensure that auth hashes are securely generated and rotated regularly, reducing the window of opportunity for attackers who might attempt to brute-force or predict valid session tokens while exploiting this vulnerability.