CVE-2021-21307Remote Code Exploit in Lucee Admin
- 8.6HighCVSS base score
- 89.2%Exploitation in 30 daysEPSS · top 0.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and a Nuclei template for it.
Show the exploits2
Metasploit modules1 module
- Lucee Administrator imgProcess.cfm Arbitrary File Write (Metasploit module) (opens in a new tab)
exploit/linux/http/lucee_admin_imgprocess_file_writeRank excellentdisclosed 15 Jan 2021
Nuclei templates1 template
- Lucee Admin - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2021/CVE-2021-21307.yamlSeverity critical
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By GitHub_M
- 51 days later
· 51 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 89.2% · top 0.2% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.6.
Affected products
References
References7
- https://github.com/lucee/Lucee/security/advisories/GHSA-2xvv-723c-8p7r (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/lucee/Lucee/commit/6208ab7c44c61d26c79e0b0af10382899f57e1ca (opens in a new tab)x_refsource_MISCx_transferred
- https://dev.lucee.org/t/lucee-vulnerability-alert-november-2020/7643 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/httpvoid/writeups/blob/main/Apple-RCE.md (opens in a new tab)x_refsource_MISCx_transferred
- https://portswigger.net/daily-swig/security-researchers-earn-50k-after-exposing-critical-flaw-in-apple-travel-portal (opens in a new tab)x_refsource_MISCx_transferred
- http://ciacfug.org/blog/updating-lucee-as-part-of-a-vulnerability-alert-response (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/163864/Lucee-Administrator-imgProcess.cfm-Arbitrary-File-Write.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-8661 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-21307)Record last updated .