8.1high
Apache Fineract: Office list: SQL Injection via Subquery in orderBy
- Severity
- 8.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.88% (higher than 60% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
Description
A SQL Injection vulnerability exists in Apache Fineract's Office Search API (GET /api/v1/offices) in versions up to and including 1.14.0. The orderBy request parameter is concatenated into a SQL query without sufficient validation, allowing an authenticated user with permission to view offices to inject arbitrary SQL via a crafted orderBy value. This is a bypass of the ColumnValidator fix introduced for CVE-2024-32838, which does not detect bare subqueries in the ORDER BY position. This can be leveraged to perform time-based blind SQL injection for data exfiltration. Because the injected query blocks the database connection for its full duration, concurrent exploitation can exhaust the application's database connection pool, resulting in denial of service for other users. Users are recommended to upgrade to a version containing the fix.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Fineract | up to 1.14.0 Not affected: 1.15.0 | CVE List |
| apache fineract | before 1.15.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A SQL Injection vulnerability exists in Apache Fineract's Office Search API (GET /api/v1/offices) in versions up to and including 1.14.0. The orderBy request parameter is concatenated into a SQL query without sufficient validation, allowing an authenticated user with permission to view offices to inject arbitrary SQL via a crafted orderBy value. This is a bypass of the ColumnValidator fix introduced for CVE-2024-32838, which does not detect bare subqueries in the ORDER BY position. This can be leveraged to perform time-based blind SQL injection for data exfiltration. Because the injected query blocks the database connection for its full duration, concurrent exploitation can exhaust the application's database connection pool, resulting in denial of service for other users. Users are recommended to upgrade to a version containing the fix.
NVD (es)
Una vulnerabilidad de inyección SQL existe en la API de búsqueda de oficinas de Apache Fineract (GET /api/v1/offices) en versiones hasta la 1.14.0 inclusive. El parámetro de solicitud orderBy se concatena en una consulta SQL sin validación suficiente, permitiendo a un usuario autenticado con permiso para ver oficinas inyectar SQL arbitrario a través de un valor orderBy manipulado. Esto es un bypass de la corrección de ColumnValidator introducida para CVE-2024-32838, que no detecta subconsultas simples en la posición ORDER BY. Esto puede ser aprovechado para realizar una inyección SQL ciega basada en tiempo para la exfiltración de datos. Debido a que la consulta inyectada bloquea la conexión de la base de datos durante toda su duración, la explotación concurrente puede agotar el pool de conexiones a la base de datos de la aplicación, resultando en denegación de servicio para otros usuarios. Se recomienda a los usuarios actualizar a una versión que contenga la corrección.
References
| https://github.com/apache/fineract/pull/6048 | patch | |
| https://lists.apache.org/thread/lb7zwdv7qntzy6z05gzf7m8mxw9cbgsj | mailing-list, vendor-advisory | |
| https://lists.apache.org/thread/rj5vwh3z2xcvsf0rqwj8kokpbrxkhq4n | mailing-list, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-57821 changed 2026-07-15 | CVE Terms of Use |
| NVD | CVE-2026-57821 changed 2026-10-24 | Public domain |