Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469416 (CVE-2013-3525) - <www-apps/rt-4.2.4: Multiple vulnerabilities (CVE-2012-4733,CVE-2013-{3368,3369,3370,3371,3372,3373,3374,5587})
Summary: <www-apps/rt-4.2.4: Multiple vulnerabilities (CVE-2012-4733,CVE-2013-{3368,33...
Status: RESOLVED FIXED
Alias: CVE-2013-3525
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: http://web.nvd.nist.gov/view/vuln/detail
Whiteboard: ~3 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-11 11:31 UTC by Agostino Sarubbo
Modified: 2014-05-29 04:52 UTC (History)
2 users (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 2013-05-11 11:31:04 UTC
From ${URL} :

SQL injection vulnerability in Approvals/ in Request Tracker (RT) 4.0.10 and earlier allows remote 
attackers to execute arbitrary SQL commands via the ShowPending parameter.



@maintainer(s): after the bump, in case we need to stabilize the package, please say explicitly if it is ready for the stabilization or not
Comment 1 Agostino Sarubbo gentoo-dev 2013-05-23 17:12:08 UTC
From https://secunia.com/advisories/53522/ :

Description
A weakness, a security issue, and multiple vulnerabilities have been reported in RT (Request Tracker), which can be exploited by malicious, local users to manipulate certain data, by malicious users to bypass certain security restrictions and conduct script insertion attacks, and by malicious people to gain knowledge of potentially sensitive information and conduct HTTP response splitting attacks.

1) The application improperly restricts access related to the DeleteTicket and any custom lifecycle transition rights, which can be exploited to manipulate otherwise restricted ticket data.

Successful exploitation of this vulnerability requires ModifyTicket privileges.

2) The application creates certain files within the /tmp directory with predictable names in an insecure way, which can be exploited to overwrite arbitrary files with the access rights of the user running the application via symlink attacks.

3) Certain input passed via attachment filenames is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site if malicious data is viewed.

4) Certain input passed via URLs within ticket content is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site if malicious data is viewed.

Successful exploitation of this vulnerability requires that the "MakeClicky" feature is configured.

5) Certain input is not properly sanitised before being used to display Content-Disposition headers. This can be exploited to include arbitrary Content-Disposition headers in a response sent to the user.

6) The application insecurely handles the re-use of sessions, which can be exploited to e.g. disclose certain user preferences or caches.

Successful exploitation of this vulnerability requires the use of the file-based session store Apache::Session::File (default for Oracle).

Note: Additionally a weakness exists, which can be exploited by users with permissions to see administration pages to call arbitrary Mason components.

Please see the vendor's advisory for a list of affected versions.


Solution
Update to version 3.8.17 or 4.0.13.

Provided and/or discovered by
1-4) Reported by the vendor.
5) The vendor credits Dominic Hargreaves.
6) The vendor credits Jenny Martin.

Original Advisory
http://lists.bestpractical.com/pipermail/rt-announce/2013-May/000226.html
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2013-07-07 02:39:07 UTC
Waiting on bumps to 3.8.17/4.0.13.
Comment 3 GLSAMaker/CVETool Bot gentoo-dev 2013-08-27 18:26:46 UTC
CVE-2013-3374 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-3374):
  Unspecified vulnerability in Request Tracker (RT) 3.8.x before 3.8.17 and
  4.0.x before 4.0.13, when using the Apache::Session::File session store,
  allows remote attackers to obtain sensitive information (user preferences
  and caches) via unknown vectors, related to a "limited session re-use."

CVE-2013-3373 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-3373):
  CRLF injection vulnerability in Request Tracker (RT) 3.8.x before 3.8.17 and
  4.0.x before 4.0.13 allows remote attackers to inject arbitrary HTTP headers
  and conduct HTTP response splitting attacks via a MIME header.

CVE-2013-3372 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-3372):
  Request Tracker (RT) 3.8.x before 3.8.17 and 4.0.x before 4.0.13 allows
  remote attackers to inject multiple Content-Disposition HTTP headers and
  possibly conduct cross-site scripting (XSS) attacks via unspecified vectors.

CVE-2013-3371 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-3371):
  Cross-site scripting (XSS) vulnerability in Request Tracker (RT) 3.8.3
  through 3.8.16 and 4.0.x before 4.0.13 allows remote attackers to inject
  arbitrary web script or HTML via the filename of an attachment.

CVE-2013-3370 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-3370):
  Request Tracker (RT) 3.8.x before 3.8.17 and 4.0.x before 4.0.13 does not
  properly restrict access to private callback components, which allows remote
  attackers to have an unspecified impact via a direct request.

CVE-2013-3369 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-3369):
  Request Tracker (RT) 3.8.x before 3.8.17 and 4.0.x before 4.0.13 allows
  remote authenticated users with the permissions to view the administration
  pages to execute arbitrary private components via unspecified vectors.

CVE-2013-3368 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-3368):
  bin/rt in Request Tracker (RT) 3.8.x before 3.8.17 and 4.0.x before 4.0.13
  allows local users to overwrite arbitrary files via a symlink attack on a
  temporary file with predictable name.

CVE-2012-4733 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4733):
  Request Tracker (RT) 4.x before 4.0.13 does not properly enforce the
  DeleteTicket and "custom lifecycle transition" permission, which allows
  remote authenticated users with the ModifyTicket permission to delete
  tickets via unspecified vectors.
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2013-08-27 18:27:14 UTC
CVE-2013-5587 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-5587):
  Cross-site scripting (XSS) vulnerability in Request Tracker (RT) 4.x before
  4.0.13, when MakeClicky is configured, allows remote attackers to inject
  arbitrary web script or HTML via a URL in a ticket.  NOTE: this issue has
  been SPLIT from CVE-2013-3371 due to different affected versions.
Comment 5 Aaron W. Swenson gentoo-dev 2014-05-28 10:49:37 UTC
www-apps/rt has been bumped to 4.2.4, latest stable from upstream, and old versions dropped.

  28 May 2014; Aaron W. Swenson <titanofold@gentoo.org> -rt-3.8.11.ebuild,
  -rt-3.8.15.ebuild, -rt-4.0.5.ebuild, -rt-4.0.8.ebuild, -rt-4.0.8-r1.ebuild,
  metadata.xml:
  Remove old, insecure versions.

*rt-4.2.4 (28 May 2014)

  28 May 2014; Aaron W. Swenson <titanofold@gentoo.org> +rt-4.2.4.ebuild,
  files/config.layout-gentoo:
  Version bump fixes bug 422801 and bug 469416.
Comment 6 Yury German Gentoo Infrastructure gentoo-dev 2014-05-29 04:52:38 UTC
Maintainer(s), Thank you for cleanup!

No GLSA needed as there are no stable versions.