Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2013-2251: Apache Struts 2 S2-016 OGNL Remote Code Execution

Published Jul 18, 2013 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS100.0%100th percentile
CISA KEVYesAdded Mar 25, 2022
In the wildActivePer CISA KEV
Vendors
Apache Software FoundationFujitsuOracle Corporation
IdentifiersCVE-2013-2251CWE-95

CVE-2013-2251, addressed by Apache Struts security bulletin S2-016, is an OGNL expression injection vulnerability in Apache Struts 2.0.0 through 2.3.15. Struts processes parameters using the action:, redirect:, and redirectAction: prefixes without sufficient filtering of attacker-controlled OGNL expressions. A remote attacker can supply a crafted prefixed parameter containing an OGNL expression and cause it to be evaluated in the server-side Struts/Java context, enabling arbitrary Java method invocation and potentially operating-system command execution.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Unauthenticated remote exploitation can result in arbitrary code execution in the security context of the application server running the vulnerable Struts application. An attacker may execute system commands, access or alter application-accessible data, deploy malware or web shells, and use the compromised server as a foothold for further intrusion. Mirai-derived malware has incorporated exploitation support for this vulnerability for propagation.

Mitigation

If you can’t patch tonight, do this now.

Until upgrade is complete, restrict access to affected Struts applications to trusted clients where feasible, place compensating controls in a reverse proxy or web application firewall to detect and block suspicious action:, redirect:, and redirectAction: parameter values containing OGNL syntax, and monitor application and web-server logs for malformed redirect parameters and expression-evaluation attempts. These controls are temporary and may be bypassed; applying the vendor fix is required.

Remediation

Patch, then assume compromise.

Upgrade Apache Struts to version 2.3.15.1 or a later supported release containing the S2-016 fix. Identify and update all applications that bundle or depend on vulnerable Struts libraries, then redeploy and verify the effective runtime version. Remove vulnerable versions from application-server deployments and dependency caches to prevent an older library from remaining active.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationArchivaapplication
Apache Software FoundationStrutsapplication
FujitsuGp-S Firmwareoperating_system
FujitsuGp5000 Firmwareoperating_system
FujitsuGp7000f Firmwareoperating_system
FujitsuInterstage Business Process Manager Analyticsapplication
FujitsuPrimepower Firmwareoperating_system
FujitsuPrimergy Firmwareoperating_system
FujitsuSparc Firmwareoperating_system
Oracle CorporationSiebel Apps - E-Billingapplication
FAQ

Frequently asked questions

Is CVE-2013-2251 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 25, 2022.
Is there a public exploit for CVE-2013-2251?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2013-2251, the earliest disclosed Jul 2, 2013.
Is there a patch for CVE-2013-2251?
Upgrade Apache Struts to version 2.3.15.1 or a later supported release containing the S2-016 fix. Identify and update all applications that bundle or depend on vulnerable Struts libraries, then redeploy and verify the effective runtime version.
What products are affected by CVE-2013-2251?
Apache Software Foundation Struts, Apache Software Foundation Archiva, Fujitsu Gp5000 Firmware, Fujitsu Gp7000f Firmware, Fujitsu Gp-S Firmware, and 5 more.
How severe is CVE-2013-2251?
CVE-2013-2251 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 100.0% (100th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.