Apache Struts Improper Input Validation
CVE-2013-2251 is a critical-severity improper neutralization of special elements in output used by a downstream component vulnerability in Archiva from Apache, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 1.3.8 as the first without the flaw, so updating Archiva to that release or later removes the exposure. CISA added it to the Known Exploited Vulnerabilities catalogue on March 25, 2022, which means attacks have been observed in the wild.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Update Archiva to 1.3.8 or a later version.
- CISA's required action: Apply updates per vendor instructions.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Apache | Archiva | 1.3 up to, but not including, 1.3.8; 1.2; 1.2.2 | 1.3.8 |
| Apache | Struts | 2.0.0 through 2.3.15 | Not stated |
| Fujitsu | Interstage Business Process Manager Analytics | 12.0; 12.1 | Not stated |
| Oracle | Siebel Apps - E-billing | 6.1; 6.1.1; 6.2 | Not stated |
Version data comes from NVD's product matching. 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
- LowNo special conditions are needed; the attack works reliably.
- 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:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.8 | Critical | NVD |
| CVSS 3.1 | 9.8 | Critical | CISA (ADP) |
| CVSS 2.0 | 9.3 | High | NVD |
Official description
Apache Struts 2.0.0 through 2.3.15 allows remote attackers to execute arbitrary OGNL expressions via a parameter with a crafted (1) action:, (2) redirect:, or (3) redirectAction: prefix.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Neutralization of Special Elements in Output Used by a Downstream Component
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
How developers prevent this class of flaw
- Programming languages and supporting technologies might be chosen which are not subject to these issues.
- Utilize an appropriate mix of allowlist and denylist parsing to filter control-plane syntax from all input.
Timeline
- CVE record published.
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- Deadline for US federal agencies to remediate, set by CISA.
- CISA published its SSVC assessment (exploitation: active, automatable: yes, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Third-party and government advisories
- seclists.org/oss-sec/2014/q1/89Mailing List, Third Party Advisory
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20131023-struts2Third Party Advisory
- exchange.xforce.ibmcloud.com/vulnerabilities/90392Third Party Advisory, VDB Entry
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2013-2251US Government Resource
Technical write-ups (may include proof of concept)
- cxsecurity.com/issue/WLB-2014010087Exploit, Third Party Advisory
- packetstormsecurity.com/files/159629/Apache-Struts-2-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- seclists.org/fulldisclosure/2013/Oct/96Exploit, Mailing List, Third Party Advisory
Other references
Other vulnerabilities in Archiva
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.