CVE-2011-5057
What it is
Apache Struts 2.3.1.2 and earlier, 2.3.19-2.3.23, provides interfaces that do not properly restrict access to collections such as the session and request collections, which might allow remote attackers to modify run-time data values via a crafted parameter to an application that implements an affected interface, as demonstrated by the SessionAware, RequestAware, ApplicationAware, ServletRequestAware, ServletResponseAware, and ParameterAware interfaces. NOTE: the vendor disputes the significance of this report because of an "easy work-around in existing apps by configuring the interceptor."
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 27.2% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 27.2% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 27.2% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Apache Struts < 2.3.3
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-5057.md and follow it. Check whether this project is affected by CVE-2011-5057. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://issues.apache.org/jira/browse/WW-2264
- https://issues.apache.org/jira/browse/WW-3631
- https://issues.apache.org/jira/browse/WW-2264
- https://issues.apache.org/jira/browse/WW-3631
References
- http://codesecure.blogspot.com/2011/12/struts-2-session-tampering-via.html
- http://secunia.com/advisories/47109
- https://issues.apache.org/jira/browse/WW-2264
- https://issues.apache.org/jira/browse/WW-3631
- http://codesecure.blogspot.com/2011/12/struts-2-session-tampering-via.html
- http://secunia.com/advisories/47109
- https://issues.apache.org/jira/browse/WW-2264
- https://issues.apache.org/jira/browse/WW-3631