CVE-2021-34427 in eclipse business intelligence and reporting tools
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
In Eclipse BIRT versions 4.8.0 and earlier, an attacker can use query parameters to create a JSP file which is accessible from remote (current BIRT viewer dir) to inject JSP code into the running instance.
Affected software: eclipse business intelligence and reporting tools
Scores
- CVSS: 9.8 (critical)
- EPSS: 57.71% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2021-06-25
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade Eclipse BIRT past 4.8.0 and lock down the viewer
Patch or upgrade. Eclipse BIRT 4.8.0 and earlier let a viewer request write the report document under a .jsp name in the viewer folder, which then runs as code. Later releases restrict the document name; keeping the viewer internal also reduces the risk.
Applies to: Eclipse BIRT 4.8.0 and earlier
- Upgrade the BIRT runtime and viewer to the latest release.
- In the viewer web.xml set BIRT_VIEWER_WORKING_FOLDER and BIRT_VIEWER_DOCUMENT_FOLDER outside the web root.
- Remove .jsp files in the viewer folder that are not part of the release.
- Allow the viewer only from internal networks.
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.