Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509694 (CVE-2014-0116) - dev-java/struts: Multiple vulnerabilities (CVE-2014-{0116,7809})
Summary: dev-java/struts: Multiple vulnerabilities (CVE-2014-{0116,7809})
Status: RESOLVED FIXED
Alias: CVE-2014-0116
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: https://secunia.com/advisories/58412/
Whiteboard: ~4 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-06 15:49 UTC by Agostino Sarubbo
Modified: 2016-02-07 11:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-05-06 15:49:09 UTC
From ${URL} :

Description

A vulnerability has been reported in Apache Struts, which can be exploited by malicious people to bypass 
certain security restrictions.

The vulnerability is caused due to the application not properly restricting access to the "class" 
parameter which is directly mapped to the "getClass()" method via the CookieInterceptor. This can be 
exploited to manipulate the ClassLoader used by the application server and subsequently e.g. change the 
state of a session or request.

This vulnerability is caused due to an improper fix of CVE-2014-0113.

For more information see vulnerability #2 in:
SA58016

The vulnerability is reported in versions prior to 2.3.16.3.


Solution:
Update to version 2.3.16.3.

Provided and/or discovered by:
Originally reported by several reporters within version 2.3.16.1. The vendor additionally credits Zubair 
Ashraf, IBM X-Force for information about an incomplete fix.

Original Advisory:
Apache Struts:
http://struts.apache.org/release/2.3.x/docs/s2-022.html


@maintainer(s): since the package or the affected version has never been marked as stable, we don't need to stabilize it. After the bump, please remove the affected versions from the tree.
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2015-01-03 18:01:11 UTC
CVE-2014-0116 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-0116):
  CookieInterceptor in Apache Struts 2.x before 2.3.16.3, when a wildcard
  cookiesName value is used, does not properly restrict access to the getClass
  method, which allows remote attackers to "manipulate" the ClassLoader and
  modify session state via a crafted request.  NOTE: this vulnerability exists
  because of an incomplete fix for CVE-2014-0113.
Comment 2 GLSAMaker/CVETool Bot gentoo-dev 2015-01-11 19:38:22 UTC
CVE-2014-7809 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-7809):
  Apache Struts 2.0.0 through 2.3.x before 2.3.20 uses predictable <s:token/>
  values, which allows remote attackers to bypass the CSRF protection
  mechanism.
Comment 3 Patrice Clement gentoo-dev 2016-02-07 11:09:46 UTC
This package has been removed, along with all the struts related ebuilds. See bug 540888.
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2016-02-07 11:19:33 UTC
The package is gone