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

What LogPulse has for it

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

  1. Upgrade the BIRT runtime and viewer to the latest release.
  2. In the viewer web.xml set BIRT_VIEWER_WORKING_FOLDER and BIRT_VIEWER_DOCUMENT_FOLDER outside the web root.
  3. Remove .jsp files in the viewer folder that are not part of the release.
  4. 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.

Start free with LogPulse