CVE-2021-28164 in eclipse jetty

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 Jetty 9.4.37.v20210219 to 9.4.38.v20210224, the default compliance mode allows requests with URIs that contain %2e or %2e%2e segments to access protected resources within the WEB-INF directory. For example a request to /context/%2e/WEB-INF/web.xml can retrieve the web.xml file. This can reveal sensitive information regarding the implementation of a web application.

Affected software: eclipse jetty, netapp cloud manager, netapp e-series performance analyzer, netapp e-series santricity os controller, netapp e-series santricity web services, netapp element plug-in for vcenter server, netapp santricity cloud connector, netapp snapcenter, netapp snapcenter plug-in, netapp storage replication adapter for clustered data ontap

Scores

What LogPulse has for it

How to mitigate it

Upgrade Eclipse Jetty to 9.4.39 or later

Patch or upgrade. Jetty 9.4.39 normalises %2e segments before the WEB-INF check, so web.xml and other protected files are no longer served (CVE-2021-28164).

Applies to: Eclipse Jetty 9.4.37.v20210219 to 9.4.38.v20210224, standalone or embedded.

  1. Find the Jetty version in the server banner, the jetty-server jar name or the dependency tree of the application.
  2. Upgrade Jetty, or the product that embeds it, to 9.4.39 or a later supported release.
  3. Restart the service.
  4. Check that /%2e/WEB-INF/web.xml now returns 404.

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