Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› Is CVE-2012-0391 (Apache Struts 2 Improper Input Validation)…
Threats, Abuse & Incident Response

Is CVE-2012-0391 (Apache Struts 2 Improper Input Validation) being exploited in the wild?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 19, 2026 Domain: Threats, Abuse & Incident Response

Yes. CISA added CVE-2012-0391 to its Known Exploited Vulnerabilities catalogue on 21 January 2022, which it does only when there is reliable evidence of active exploitation. CISA has not linked it to known ransomware campaigns. The ExceptionDelegator component in Apache Struts 2 before 2.2.3.1 contains an improper input validation vulnerability that allows for remote code execution.

What “being exploited in the wild” means for this CVE

CVE-2012-0391 is not just a historical weakness entry. For a CVE like this, “exploited in the wild” means defenders should treat it as an active exposure signal, not a theoretical bug. The practical question is whether any Apache Struts 2 deployment is still reachable, still unremediated, or still exposing the vulnerable ExceptionDelegator path.

That matters because exploitation status changes the response posture. When a vulnerability is in CISA’s KEV catalogue, the issue is no longer “should we patch someday?” but “can we confirm exposure and eliminate the attack path now?” CISA’s catalogue is designed for exactly that kind of prioritisation, and the CISA Known Exploited Vulnerabilities Catalog is the authoritative place to verify current remediation guidance.

For vulnerability triage, the most useful companion view is the official record itself. The CVE Program provides the canonical identifier and record structure, while the NIST National Vulnerability Database is the place to review the broader vulnerability record and related metadata when you are validating what exactly is being tracked.

Why Struts 2 input validation flaws become urgent fast

The vulnerability type here is improper input validation in a framework component, which is especially serious when the flaw can lead to remote code execution. In practice, that means the risk is not limited to a single feature or a user-facing form. Framework-level validation flaws can expose every application that depends on the affected code path, especially where the application is internet-facing or broadly reachable inside the network.

A useful way to think about this class of issue is that the attacker does not need to “break” the whole application first. They only need one reachable code path that accepts attacker-controlled input and fails to validate it safely. Once that happens, the impact can expand quickly from an application bug into server compromise, credential theft, data access, or lateral movement.

For practitioners, exploited framework vulnerabilities also create a blind spot problem: one vulnerable library or component may sit inside multiple applications, so a single missed instance can remain exploitable long after the original patch cycle was thought to be complete. That is why vulnerable framework inventory, not just application inventory, matters.

What to do when patching cannot happen immediately

When a KEV-listed vulnerability cannot be remediated right away, the response should shift to exposure reduction and compromise detection. That usually means identifying every instance of the affected Struts 2 component, taking vulnerable services off the public internet where possible, and applying the vendor’s mitigation or upgrade path as soon as operationally feasible.

Attackers often follow a predictable sequence in these cases: scan for exposed targets, deliver an exploit, obtain execution, then pivot to theft or persistence. The safest interim posture is to reduce attack surface, increase monitoring on the affected hosts, and treat any successful exploitation as a potential full-host compromise rather than a narrow application issue.

Where the application handles credentials, session material, API keys, or other secrets, assume those values may have been exposed during compromise and prepare to rotate them. The vendor advisory and CISA KEV entry should be the source of truth for exact remediation steps, but the operational principle is simple: if the service was reachable and unpatched, do not wait for proof of abuse before beginning containment.

Risk and Threat Considerations

Internet-facing Struts deployments are attractive targets because active exploitation can move quickly from initial foothold to code execution. The main risk is not just service disruption, but the downstream exposure created when an attacker gains execution on a system that may hold application secrets, session state, or access to other internal resources.

Failure mechanism: Attacker-controlled input reaches the vulnerable ExceptionDelegator path, validation fails open or fails unsafely, and the attacker converts that flaw into remote code execution on the affected host.

Impact: Successful exploitation can enable web shell placement, theft of secrets, application tampering, lateral movement, and broader compromise of systems that trust the affected server.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8 and NIST SP 800-53 Rev 5 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-7 — Continuous Vulnerability ManagementActive exploitation requires rapid identification and remediation of vulnerable assets.
Recommendation — Prioritise KEV-listed exposures and verify every affected asset is remediated or isolated.
NIST SP 800-53 Rev 5SI-2 — Flaw RemediationThe issue demands timely patching, mitigation, and tracking of unresolved flaws.
RA-5 — Vulnerability Monitoring and ScanningConfirming exposure requires scanning and validation across the asset inventory.
IR-4 — Incident HandlingKnown exploitation can require containment and compromise assessment, not just patching.
Recommendation — Track this CVE as a remediation-priority flaw and document compensating controls until fixed. Scan for affected Struts deployments and validate whether the vulnerable component is present. Invoke incident handling when exploitation is suspected and preserve evidence for analysis.
ISO/IEC 27001:2022A.8.8 — Management of technical vulnerabilitiesThis CVE is a technical vulnerability that needs assessed remediation and tracking.
Recommendation — Record the flaw, assign remediation owners, and track closure to completion.

Practitioner Guidance

What to verify: Confirm whether any Apache Struts 2 instance is still deployed, whether it is externally reachable, and whether the vulnerable code path is actually in use. If asset ownership is unclear, the inventory problem is part of the risk, not a separate administrative issue.

Decision rule: If you cannot prove the vulnerable service is patched or removed, treat it as an active exposure and prioritise remediation over extended validation work. For KEV-listed issues, “not observed abused internally” is not a sufficient reason to defer action.

What good looks like: The vulnerable component is removed or fixed, exposed endpoints are no longer reachable, and any accounts, sessions, tokens, or keys that the system could have exposed are reviewed for rotation or invalidation where warranted.

Practitioner takeaway: When CISA has already marked a flaw as actively exploited, the main job is to shrink exposure fast and then look for compromise evidence, not to debate whether the bug is still operationally relevant.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org