CVE-2016-3081 — Apache Struts: Command Injection | CVSS 8.1 HIGH

HIGH

CVSS 8.1 HIGH  ·  EPSS 93%  ·  Apache Struts

Why this matters: CISA confirms active exploitation of this high vulnerability in Apache Struts (CVSS 8.1, High priority), with a 93% EPSS exploitation probability — among the highest tracked. See Recommended Actions below for immediate steps.

Severity Overview

  • CVSS Base Score: 8.1 (HIGH)
  • EPSS Score: 93.4% probability of exploitation in 30 days — higher than 100% of all scored CVEs
  • CVSS Version: 3.1
  • Priority: High priority

Summary

Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via method: prefix, related to chained expressions.

What the Attack Looks Like

How it works: Attacker-controlled data is embedded in a command passed to a shell or interpreter without sufficient escaping, causing unintended commands to execute alongside the intended one.

If successfully exploited: A successful exploit gives the attacker a foothold on the target system with access to sensitive data and the ability to deploy secondary payloads. Full confidentiality and integrity impact means an attacker can both read and modify sensitive data — useful for credential harvesting, data theft, or manipulating application state. High availability impact means the vulnerability can also cause a denial of service, which may be used for disruption or as a diversion during a broader attack.

Analyst Takeaway

The attack is launched over the network (remotely exploitable without physical access) and no authentication is required. Exploitation requires specific conditions to be met (high attack complexity), which may reduce reliability in opportunistic campaigns. This vulnerability is already in CISA KEV, which means exploitation has been confirmed in the wild — treat this as active risk, not theoretical exposure. The CVSS score is high enough to justify expedited remediation, especially for exposed systems or assets that handle sensitive data. Apache Struts is associated with technology that is commonly deployed in enterprise environments, so defenders should assume a higher probability of broad target interest and prioritize validation across the environment. The ATT&CK mapping suggests public-facing exploitation risk, so external exposure validation should be part of immediate triage. In parallel with patching, defenders should review external exposure, hunt for signs of exploitation, and validate whether compensating controls are in place for vulnerable assets.

MITRE ATT&CK Mapping

  • T1190 – Exploit Public-Facing Application
    Rationale: The product appears likely to be internet-facing or commonly exposed in enterprise environments.

Detection Guidance

  • CWE-77 — Command Injection

    • Input log inspection: Search application logs and WAF telemetry for shell metacharacters in user-controlled fields: semicolons (;), pipes (|), ampersands (&), backticks, $(, %0a (newline), and their URL-encoded equivalents.
    • Process telemetry: Hunt for shell processes (bash, sh, cmd.exe, PowerShell) spawned as children of the web or application process. A web server that spawns a shell is a near-certain exploitation indicator.
    • Command execution artifacts: Look for evidence of commands running that the application would never normally execute — network tools (curl, wget, nc, ncat), file modification outside the app directory, or user account creation.
  • T1190 — Exploit Public-Facing Application

    • Inspect web server, reverse proxy, load balancer, and WAF logs for abnormal request patterns — unusual URIs, oversized payloads, HTTP verb abuse, or encoding anomalies.
    • Monitor for spikes in HTTP 4xx/5xx responses that may indicate probing or failed exploitation attempts preceding a successful hit.
    • Review outbound connections from affected servers for unexpected command-and-control callbacks or secondary payload retrieval to external IPs.
    • Validate which internet-facing assets are running the vulnerable version and verify whether compensating controls (WAF rules, network ACLs) are in place and effective.

Hunting Considerations

These are proactive hunts mapped to the ATT&CK techniques identified for this CVE. Run them now — do not wait for an alert to fire.

  • T1190 — Exploit Public-Facing Application

    • Web/app server logs: Search for unusual HTTP methods, requests to non-standard paths, oversized payloads, or encoding anomalies (URL-encoded or double-encoded sequences) targeting the vulnerable application. Cluster by source IP and look for low-volume probing patterns before any successful hit.
    • Process telemetry: Hunt for child processes spawned by the web server or application process (e.g., apache2, nginx, w3wp.exe, java). Web server processes should not be launching shells, scripting engines (PowerShell, bash, python), or download utilities.
    • Outbound connections from the server: Alert on unexpected outbound HTTP/S or DNS from the application server to external IPs not in your CDN or update allowlist — this is a common secondary payload retrieval indicator post-exploitation.
    • File system writes: Look for new files written to web root directories, temp folders, or cron directories by the application process — especially scripts or executables placed there after an unusual inbound request.
    • Internal pivot follow-on: After gaining a foothold, attackers move laterally. Search for new internal connections originating from the compromised server in the hour following any suspicious external request.

Immediate (0–24 Hours)

  • Inventory: Identify all systems running Apache Struts. Include production, staging, dev, and cloud environments — untracked instances are the most likely to remain unpatched.
  • Validate internet-facing exposure: Determine which of the affected systems are reachable from the public internet. Prioritize these for immediate remediation or compensating controls.

Remediation

  • Apply the vendor patch: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
  • CISA directive deadline: 2026-10-11 — this is the mandatory deadline for US federal civilian agencies under BOD 22-01. All organizations should treat this date as a strong target regardless of federal mandate.
  • Verify remediation: After patching, confirm the correct version is installed on all affected hosts. Run a vulnerability scan or use your asset management tooling to verify — do not rely solely on change tickets.
  • Post-patch review: After patching, review web server and application logs for signs of exploitation prior to remediation. A successful exploit may have left behind a web shell, new account, or scheduled task.

Detection Coverage

  • Verify ATT&CK coverage: Confirm your SIEM and EDR have detection logic in place for T1190. Review the Detection Guidance and Hunting Considerations sections of this alert for the specific log sources and behavioral patterns to monitor.
  • Unauthenticated exploitation monitoring: Because this vulnerability requires no authentication, internet-facing scanning and exploitation attempts may begin within hours of public disclosure. Ensure alerting is in place before the end of the day.
  • Threat intelligence feeds: Monitor your TI feeds and vendor advisory channels for published indicators of compromise (IOCs), proof-of-concept exploit releases, or active campaign reporting associated with this CVE — these should trigger an immediate hunt even if no internal alerts have fired.

Detection Playbooks

Vulnerability Details

  • CVE: CVE-2016-3081
  • Vendor: Apache
  • Product: Struts
  • CWE: CWE-77
  • Date Added to CISA KEV: 2026-10-08
  • CISA Due Date: 2026-10-11
  • Known Ransomware Campaign Use: Unknown
  • CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Additional Notes

This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://cwiki.apache.org/confluence/display/WW/S2-032 ; ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2016-3081

Stay Ahead

Found this useful? Get every alert as it publishes.

Free. No account. No email. Follow in Feedly, Inoreader, or any RSS reader.

Or follow on X for alerts in your feed:

Follow @threatpodium on X →