CVE-2021-21307 in lucee server
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
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 software: lucee server
Scores
- CVSS: 9.8 (critical)
- EPSS: 89.19% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2021-02-11
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Update Lucee to 5.3.7.47, 5.3.6.68, 5.3.5.96 or later, or block the Lucee admin
Patch or upgrade. Lucee Admin before 5.3.7.47, 5.3.6.68 and 5.3.5.96 lets anyone write a file through imgProcess.cfm and run code. The fixed versions require login; blocking /lucee/admin also stops it.
Applies to: Lucee Server before 5.3.7.47, 5.3.6.68 and 5.3.5.96.
- Check the Lucee version in the Lucee Administrator overview or with server.lucee.version.
- Update Lucee to 5.3.7.47, 5.3.6.68, 5.3.5.96 or a later release.
- Block /lucee/admin/ at the proxy or web server for everyone except admin networks, which Lucee also advises in general.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.