Skip to content
Not rated

CVE-2026-81815 Apache OFBiz: SQL injection - performFind ignore-case values, MySQL/MariaDB

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.

Affected products and versions

Product Affected versions Fixed in
Apache OFBiz 24.09 earliest → < 24.09.08 24.09.08

References

Timeline

  1. Published
  2. Last modified
The 97 CVEs of Apache OFBiz →
Track this CVE