Description
Lucee Server is a dynamic, Java based (JSR-223), tag and scripting language used for rapid web application development. In Lucee Admin before versions 5.3.7.47, 5.3.6.68 or 5.3.5.96 there is an unauthenticated remote code exploit. This is fixed in versions 5.3.7.47, 5.3.6.68 or 5.3.5.96. As a workaround, one can block access to the Lucee Administrator.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lucee | Lucee | >= 5.3.5.0, < 5.3.5.96, >= 5.3.6.0, < 5.3.6.68, >= 5.3.7.0, < 5.3.7.47 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Lucee Administrator imgProcess.cfm Arbitrary File Write
exploit/linux/http/lucee_admin_imgprocess_file_write
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Lucee Admin - Remote Code Execution http/cves/2021/CVE-2021-21307.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://github.com/lucee/Lucee/security/advisories/GHSA-2xvv-723c-8p7r
- https://github.com/lucee/Lucee/commit/6208ab7c44c61d26c79e0b0af10382899f57e1ca
- https://dev.lucee.org/t/lucee-vulnerability-alert-november-2020/7643
- https://github.com/httpvoid/writeups/blob/main/Apple-RCE.md
- https://portswigger.net/daily-swig/security-researchers-earn-50k-after-exposing-critical-flaw-in-apple-travel-portal
- http://ciacfug.org/blog/updating-lucee-as-part-of-a-vulnerability-alert-response
- http://packetstormsecurity.com/files/163864/Lucee-Administrator-imgProcess.cfm-Arbitrary-File-Write.html