CVE-2026-81828: Apache OFBiz: Server-side request forgery in SurveyWrapper
Server-Side Request Forgery in SurveyWrapper in Apache OFBiz 24.09 before 24.09.08 on all platforms allows an authenticated back-office user holding catalog permission to cause the server to fetch and render attacker-controlled URLs — including internal network and cloud-metadata endpoints and local files via file:// — by setting an arbitrary URL as a product-store survey's template location, causing SurveyWrapper.getTemplate to call URL.openStream() on the resolved location and compile the fetched content as a FreeMarker template with no scheme or host validation, unlike the sibling widget location-loaders (ScreenFactory, FormFactory, GridFactory, MenuFactory, TreeFactory, ThemeFactory) which validate the resolved location before loading it. The fetched content is rendered into the HTTP response of any shopper who subsequently loads the affected product-store survey, making the disclosure non-blind. 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
Who can exploit this issue, and what access is required?
An attacker must be an authenticated back-office user with catalog permission. They need to be able to set the template location for a product-store survey to an attacker-controlled URL.
Are shopper-facing users directly able to trigger the vulnerable request?
The initial configuration change requires a privileged back-office user, but any shopper who later loads the affected product-store survey causes the server to fetch and render the configured location. The fetched content is returned in that shopper's HTTP response, so the disclosure is non-blind.
What resources could the server be induced to access?
The vulnerable loader accepts arbitrary URLs without scheme or host validation. This can include internal-network and cloud-metadata endpoints, as well as local files referenced with file:// URLs.
How can I determine whether an instance is affected?
Apache OFBiz 24.09 releases before 24.09.08 are affected. Review product-store survey template locations for arbitrary, unexpected, internal, cloud-metadata, or file:// URLs.
What should be done if upgrading cannot happen immediately?
Restrict catalog permission to trusted back-office users and review product-store survey template locations for untrusted URLs. Remove or replace arbitrary external, internal, cloud-metadata, and file:// locations until the instance can be upgraded to 24.09.08.