CVE-2026-81815: Apache OFBiz: SQL injection - performFind ignore-case values, MySQL/MariaDB
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache OFBizto a version that resolves this vulnerability.Fixed in 24.09.08
Event History
Frequently Asked Questions
Which deployments are affected?
Affected deployments run Apache OFBiz 24.09 before 24.09.08 with a MySQL or MariaDB datasource. The default Derby datasource and PostgreSQL are not affected.
Does exploitation require an authenticated OFBiz user?
No. A remote unauthenticated attacker can exploit the issue by submitting a crafted ignore-case find request to the generic performFind service.
What data can an attacker obtain?
An attacker can disclose arbitrary rows from the entity being queried by manipulating the WHERE clause into a tautology.
What is the recommended remediation?
Upgrade Apache OFBiz to version 24.09.08, which fixes the issue.