All vulnerabilities
CVE-2018-11776

Apache Struts Remote Code Execution Vulnerability

Apache StrutsFrameworks
CVSS
8.1High
ExploitationExploited in the wildAdded to KEV 3 Nov 2021CISA KEV
Exploit odds (EPSS)>99.9%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
Federal deadline3 May 2022Remediation due date for US federal agenciesCISA KEV
CISA required actionApply updates per vendor instructions. CISA KEV

What fixes it

No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.

Timeline

  1. 22 Aug 2018Exploit code publicMetasploit
  2. 22 Aug 2018, 13:00 UTCPublishedCVE List
  3. 3 Nov 2021Added to CISA KEVCISA KEV

Public exploit code and templates 6

  • Exploit moduleApache Struts 2 Namespace Redirect OGNL Injection 22 Aug 2018Metasploit
  • Remote exploitApache Struts 2 - Namespace Redirect OGNL Injection (Metasploit) 10 Sep 2018Exploit-DB
  • Remote exploitApache Struts 2 - Namespace Redirect OGNL Injection (Metasploit) 10 Sep 2018Exploit-DB
  • Remote exploitApache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (1) 26 Aug 2018Exploit-DB
  • Remote exploitApache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (2) 25 Aug 2018Exploit-DB
  • Scanner templateApache Struts2 S2-057 - Remote Code ExecutionNuclei

Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.

Description

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.

Text from CVE List

Affected versions 2

  • Apache Strutsaffected: 2.3 to 2.3.34CVE List
  • Apache Strutsaffected: 2.5 to 2.5.16CVE List

References 14