CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Apache

CVE-2021-31805
Apache Struts vulnerability

The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s attributes could perform a double evaluation if a developer applied forced OGNL evaluation by using the %{...} syntax. Using forced OGNL evaluation on untrusted user input can lead to a Remote Code Execution and security degradation.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Struts. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Apache Struts runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Apache products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.