Live threats

All CVEs / Apache

CVE-2018-11776Apache Struts

Remote Code Execution in Apache Struts

High 8.1 KEV No auth neededHigh EPSS

Priority
74
CVSS 3.1
8.1
EPSS
100.0%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Nov 3, 2021
CISA deadline
May 3, 2022
Ransomware use
Unknown
Published
Aug 22, 2018
Updated
Jun 17, 2026
Category
Server · Cross-platform
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 are vulnerable to remote code execution when alwaysSelectFullNamespace is enabled and specific namespace configuration conditions are met. An unauthenticated attacker can execute arbitrary code on the server. CISA confirmed this vulnerability as actively exploited.

Show the original NVD text

Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time, its upper package have no or wildcard namespace.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

Apache Struts contains a vulnerability that allows for remote code execution under two circumstances. One, where the alwaysSelectFullNamespace option is true and the value isn't set for a result defined in underlying configurations and in same time, its upper package configuration have no or wildcard namespace. Or, using URL tag which doesn't have value and action set and in same time, its upper package configuration have no or wildcard namespace.

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 2.3.35, 2.5.17

Update Apache Struts to version 2.3.35 or 2.5.17 as applicable. Review alwaysSelectFullNamespace configuration and namespace settings in your applications.

Vendor advisory · www.oracle.com ↗

  1. Apply the vendor's security update for Struts.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.struts:struts2-core ≥ 2.0.4 < 2.3.35 2.3.35 —
Maven org.apache.struts:struts2-core ≥ 2.5 < 2.5.17 2.5.17 —

Per OSV / GitHub Advisories (GHSA-cr6j-3jp9-rw65). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts≥ 2.0.4 < 2.3.35
apachestruts≥ 2.5.0 < 2.5.17
netappactive_iq_unified_manager≥ 7.3
netappactive_iq_unified_manager≥ 9.5
netapponcommand_insightall
netapponcommand_workflow_automationall
netappsnapcenterall
oraclecommunications_policy_management< 12.5.0
oracleenterprise_manager_base_platform13.3.0.0
oracleenterprise_manager_base_platform13.4.0.0
oraclemysql_enterprise_monitor≤ 3.4.9.4237
oraclemysql_enterprise_monitor≥ 4.0.0 ≤ 4.0.6.5281
oraclemysql_enterprise_monitor≥ 8.0.0 ≤ 8.0.2.8191

Official sources

References

Links published by the sources. Open them with care.