CVE-2026-81815
Unauthenticated SQL injection in Apache OFBiz on MySQL/MariaDB
- CVSS 3.1
- 9.8 critical
- EPSS
- —
- Published
- ·
- Modified
Apache OFBiz's generic performFind service inlines an ignore-case EntityFunction value into SQL with ANSI single-quote doubling instead of a bound parameter. A remote unauthenticated attacker can send a crafted _ic=Y find request with a backslash-terminated value and disclose arbitrary rows from the queried entity on MySQL or MariaDB. Derby and PostgreSQL deployments are not affected.
What to do: Upgrade Apache OFBiz to 24.09.08. Derby and PostgreSQL datasources are not affected by this issue.
| Product | Affected | Fixed in |
|---|---|---|
| Apache OFBiz | 24.09 before 24.09.08 (MySQL/MariaDB) | 24.09.08 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
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.
- Weakness
- CWE-89
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
In the news
0 storiesNo ingested article mentions this CVE yet.