{"id":"CVE-2021-21307","published":"2021-02-11T18:20:21Z","modified":"2024-08-03T18:09:15Z","title":"Remote Code Exploit in Lucee Admin","vendor":"lucee","product":"Lucee","tier":"core","eol":null,"affectedVersions":[{"vendor":"lucee","product":"Lucee","versions":[">= 5.3.5.0, < 5.3.5.96",">= 5.3.6.0, < 5.3.6.68",">= 5.3.7.0, < 5.3.7.47"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"Lucee, the Java-based dynamic language and server, has an unauthenticated remote code execution flaw in its Lucee Admin component, affecting releases before 5.3.7.47, 5.3.6.68 and 5.3.5.96. An attacker with only network access to the Lucee Administrator can run code on the server without logging in or any user interaction, and the fix is to upgrade to the patched versions or block access to the administrator as an interim workaround.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:12:56Z"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.89189,"percentile":0.99856,"date":"2026-11-26","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-11-29","exploitedFirstSeen":"2023-11-29","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-21307","date":"2023-11-29"},{"url":"https://app.crowdsec.net/cti/cve-explorer/CVE-2021-21307","date":"2025-06-07"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/lucee/Lucee/security/advisories/GHSA-2xvv-723c-8p7r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lucee/Lucee/commit/6208ab7c44c61d26c79e0b0af10382899f57e1ca","tags":["x_refsource_MISC"]},{"url":"https://dev.lucee.org/t/lucee-vulnerability-alert-november-2020/7643","tags":["x_refsource_MISC"]},{"url":"https://github.com/httpvoid/writeups/blob/main/Apple-RCE.md","tags":["x_refsource_MISC"]},{"url":"https://portswigger.net/daily-swig/security-researchers-earn-50k-after-exposing-critical-flaw-in-apple-travel-portal","tags":["x_refsource_MISC"]},{"url":"http://ciacfug.org/blog/updating-lucee-as-part-of-a-vulnerability-alert-response","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/163864/Lucee-Administrator-imgProcess.cfm-Arbitrary-File-Write.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-8661","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-8661","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"Lucee Administrator imgProcess.cfm Arbitrary File Write","module":"exploit/linux/http/lucee_admin_imgprocess_file_write","type":"exploit","disclosureDate":"2021-01-15","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/lucee_admin_imgprocess_file_write.rb"}],"nuclei":[{"id":"CVE-2021-21307","name":"Lucee Admin - Remote Code Execution","severity":"critical","path":"http/cves/2021/CVE-2021-21307.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21307.yaml"}],"first":{"date":"2021-01-15","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/lucee_admin_imgprocess_file_write.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/163864/Lucee-Administrator-imgProcess.cfm-Arbitrary-File-Write.html"],"flow":[],"timeline":[{"date":"2021-01-15","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/lucee_admin_imgprocess_file_write.rb","provenance":"source"},{"date":"2021-02-11","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-21307","provenance":"source"},{"date":"2023-11-29","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-21307","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":66.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1093 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.97,"detail":"percentile 0.9986"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD exploit link; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.02,"detail":"base score 8.6"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}