Apache OFBiz: SQL injection - performFind ignore-case values, MySQL/MariaDB
- State
- Published
- Severity
- 9.8 Critical
- Published
- Nov 5, 2026
- Updated
- Nov 10, 2026
- Reserved
- Aug 27, 2026
Description
SQL Injection in the entity engine's generic performFind service in Apache OFBiz 24.09 before 24.09.08 on MySQL/MariaDB-backed deployments allows a remote unauthenticated attacker to disclose arbitrary rows from the queried entity by submitting an ignore-case find request (e.g. _ic=Y) with a crafted value, causing SqlJdbcUtil.addValueSingle to inline the EntityFunction-wrapped value directly into the SQL text using ANSI-only single-quote doubling instead of binding it as a parameter, which is insufficient on MySQL/MariaDB because those dialects also honor backslash escapes, letting a backslash-terminated payload break out of the string literal and turn the WHERE clause into a tautology. The default Derby datasource and PostgreSQL are not affected because they do not interpret backslash as an escape character in this context. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
| Product | Versions |
|---|---|
| Apache OFBiz Apache Software Foundation | before 24.09.08 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CISA-ADP |
Weaknesses
- CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.