Impact
A boolean-based SQL Injection vulnerability exists in Apache Fineract's Client Search API (GET /api/v1/clients) in versions up to and including 1.14.0. The orderBy and sortOrder request parameters are concatenated into a SQL query without sufficient validation, allowing an authenticated user with permission to view to inject arbitrary SQL via a crafted orderBy value. This can be leveraged to perform blind boolean-based data extraction and, on MySQL/MariaDB, to disclose arbitrary files readable by the database process via the LOAD_FILE() function.
Affected Systems
Apache Fineract instances running versions up to and including 1.14.0 are vulnerable. Users are advised to upgrade to a release that contains the corresponding patch.
Risk and Exploitability
The CVSS score of 8.1 indicates high severity, while the EPSS score of less than 1% indicates a low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. The vulnerability requires authentication and the ability to view client data, meaning that a user with a relatively privileged role can input a crafted orderBy value. Once authenticated, an attacker can trigger the vulnerable endpoint and, on MySQL/MariaDB, use the LOAD_FILE() function to disclose arbitrary files readable by the database process. Based on the description, the attack would be possible if the database process has read permissions on the target files; this is an inferred condition not guaranteed by the CVE data.
OpenCVE Enrichment