CyberSecBulletin
CVE-2018-11776Exploited in the wildNVD status: Analyzed

Apache Struts Remote Code Execution

CVE-2018-11776 is a high-severity vulnerability in Apache Struts from Apache, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Apache Struts versions: 2.3 to 2.3.34; 2.5 to 2.5.16. The record does not name a fixed version, so check the vendor advisory. CISA added it to the Known Exploited Vulnerabilities catalogue on November 3, 2021, which means attacks have been observed in the wild.

Patch now

Attackers are already exploiting this vulnerability, according to CISA.

What to do

  1. Update Struts to 2.3.35 or 2.5.17, whichever matches your release line, or a later version.
  2. Update Communications Policy Management to 12.5.0 or a later version.
  3. CISA's required action: Apply updates per vendor instructions.
  4. Read the advisory on oracle.com for workarounds and exact fixed builds.
  5. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
ApacheApache Struts2.3 to 2.3.34; 2.5 to 2.5.16Not stated
ApacheStruts2.0.4 up to, but not including, 2.3.35; 2.5.0 up to, but not including, 2.5.172.3.35, 2.5.17
NetAppActive Iq Unified Manager7.3 and later; 9.5 and laterNot stated
NetAppOncommand InsightNot specified in the recordNot stated
NetAppOncommand Workflow AutomationNot specified in the recordNot stated
NetAppSnapcenterNot specified in the recordNot stated
OracleCommunications Policy Managementbefore 12.5.012.5.0
OracleEnterprise Manager Base Platform13.3.0.0; 13.4.0.0Not stated
OracleMySQL Enterprise Monitor3.4.9.4237 and earlier; 4.0.0 through 4.0.6.5281; 8.0.0 through 8.0.2.8191Not stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
HighSuccess depends on conditions outside the attacker's control.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.1HighNVD
CVSS 3.18.1HighCISA (ADP)
CVSS 2.09.3HighNVD

Official description

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: the CVE record as published by its numbering authority, via NVD and CVE.org.

Timeline

  1. CVE record published.
  2. Added to CISA's Known Exploited Vulnerabilities catalogue.
  3. Deadline for US federal agencies to remediate, set by CISA.
  4. CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
  5. Record last changed materially (score, affected products, status or references).

References

Technical write-ups (may include proof of concept)

Other vulnerabilities in Apache Struts

All Apache Struts vulnerabilities

Spotted an error? Tell us.