Vulnerabilities > CVE-2009-3585 - Improper Authentication vulnerability in Bestpractical RT
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Session fixation vulnerability in html/Elements/SetupSessionCookie in Best Practical Solutions RT 3.0.0 through 3.6.9 and 3.8.x through 3.8.5 allows remote attackers to hijack web sessions by setting the session identifier via a manipulation that leverages a second web server within the same domain.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Authentication Abuse An attacker obtains unauthorized access to an application, service or device either through knowledge of the inherent weaknesses of an authentication mechanism, or by exploiting a flaw in the authentication scheme's implementation. In such an attack an authentication mechanism is functioning but a carefully controlled sequence of events causes the mechanism to grant access to the attacker. This attack may exploit assumptions made by the target's authentication procedures, such as assumptions regarding trust relationships or assumptions regarding the generation of secret values. This attack differs from Authentication Bypass attacks in that Authentication Abuse allows the attacker to be certified as a valid user through illegitimate means, while Authentication Bypass allows the user to access protected material without ever being certified as an authenticated user. This attack does not rely on prior sessions established by successfully authenticating users, as relied upon for the "Exploitation of Session Variables, Resource IDs and other Trusted Credentials" attack patterns.
- Exploiting Trust in Client (aka Make the Client Invisible) An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
- Utilizing REST's Trust in the System Resource to Register Man in the Middle This attack utilizes a REST(REpresentational State Transfer)-style applications' trust in the system resources and environment to place man in the middle once SSL is terminated. Rest applications premise is that they leverage existing infrastructure to deliver web services functionality. An example of this is a Rest application that uses HTTP Get methods and receives a HTTP response with an XML document. These Rest style web services are deployed on existing infrastructure such as Apache and IIS web servers with no SOAP stack required. Unfortunately from a security standpoint, there frequently is no interoperable identity security mechanism deployed, so Rest developers often fall back to SSL to deliver security. In large data centers, SSL is typically terminated at the edge of the network - at the firewall, load balancer, or router. Once the SSL is terminated the HTTP request is in the clear (unless developers have hashed or encrypted the values, but this is rare). The attacker can utilize a sniffer such as Wireshark to snapshot the credentials, such as username and password that are passed in the clear once SSL is terminated. Once the attacker gathers these credentials, they can submit requests to the web service provider just as authorized user do. There is not typically an authentication on the client side, beyond what is passed in the request itself so once this is compromised, then this is generally sufficient to compromise the service's authentication scheme.
- Man in the Middle Attack This type of attack targets the communication between two components (typically client and server). The attacker places himself in the communication channel between the two components. Whenever one component attempts to communicate with the other (data flow, authentication challenges, etc.), the data first goes to the attacker, who has the opportunity to observe or alter it, and it is then passed on to the other component as if it was never intercepted. This interposition is transparent leaving the two compromised components unaware of the potential corruption or leakage of their communications. The potential for Man-in-the-Middle attacks yields an implicit lack of trust in communication or identify between two components.
Nessus
NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_714C1406E4CF11DE883A003048590F9E.NASL description Secunia reports : A vulnerability has been reported in RT, which can be exploited by malicious people to conduct session fixation attacks. The vulnerability is caused due to an error in the handling of sessions and can be exploited to hijack another user last seen 2020-06-01 modified 2020-06-02 plugin id 43094 published 2009-12-10 reporter This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/43094 title FreeBSD : rt -- Session fixation vulnerability (714c1406-e4cf-11de-883a-003048590f9e) NASL family Debian Local Security Checks NASL id DEBIAN_DSA-1944.NASL description Mikal Gule discovered that request-tracker, an extensible trouble-ticket tracking system, is prone to an attack, where an attacker with access to the same domain can hijack a user last seen 2020-06-01 modified 2020-06-02 plugin id 44809 published 2010-02-24 reporter This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/44809 title Debian DSA-1944-1 : request-tracker3.4 request-tracker3.6 - session hijack NASL family Fedora Local Security Checks NASL id FEDORA_2009-12817.NASL description - Fri Dec 4 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-12 - Add rt-3.8.2-rh-bz543962.diff (BZ #543962). - Tue Oct 13 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-11 - Update rt-3.8.2-rh-bz526870.diff. - Mon Oct 12 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-10 - Add rt-3.8.2-rh-bz526870.diff (BZ #526870). - Wed Jun 24 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-9 - Add R: perl(Data::ICal), R: perl(Data::ICal::Entry::Event) (BZ #507965). - Fri Jun 19 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-8 - Address BZ #506885 (BZ #506236). - Remove rt-3.4.1-I18N.diff. - Fri Apr 24 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-7 - README.fedora.in: Add --dba root to rt-setup-database (BZ #488621). - R: perl(XML::RSS) (BZ #496720). - Wed Feb 18 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-5 - Add R: perl(Class::Accessor::Fast), perl(Exception::Class::Base), perl(HTML::Mason::Request), perl(Net::Server::PreFork). - Thu Feb 5 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-4 - Stop filtering perl(Test::Email). - Add perl(:MODULE_COMPAT ...) to perl-RT-Test. - Sat Jan 24 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-3 - Fix date in changelog entry. - Sat Jan 24 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-2 - Filter out R: perl(Test::Email). - Add perl-RT-Test package. - Activate --with devel_mode. - Don last seen 2020-06-01 modified 2020-06-02 plugin id 43117 published 2009-12-14 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/43117 title Fedora 10 : rt3-3.8.2-12.fc10 (2009-12817) NASL family Fedora Local Security Checks NASL id FEDORA_2009-12783.NASL description - Fri Dec 4 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.4-7 - Add rt-3.8.4-rh-bz543962.diff (BZ #543962). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 43116 published 2009-12-14 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/43116 title Fedora 12 : rt3-3.8.4-7.fc12 (2009-12783) NASL family Fedora Local Security Checks NASL id FEDORA_2009-12827.NASL description - Fri Dec 4 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-12 - Add rt-3.8.2-rh-bz543962.diff (BZ #543962). - Tue Oct 13 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-11 - Update rt-3.8.2-rh-bz526870.diff. - Mon Oct 12 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-10 - Add rt-3.8.2-rh-bz526870.diff (BZ #526870). - Wed Jun 24 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-9 - Add R: perl(Data::ICal), R: perl(Data::ICal::Entry::Event) (BZ #507965). - Fri Jun 19 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-8 - Address BZ #506885 (BZ #506236). - Remove rt-3.4.1-I18N.diff. - Fri Apr 24 2009 Ralf Corsepius <corsepiu at fedoraproject.org> - 3.8.2-7 - README.fedora.in: Add --dba root to rt-setup-database (BZ #488621). - R: perl(XML::RSS) (BZ #496720). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 43118 published 2009-12-14 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/43118 title Fedora 11 : rt3-3.8.2-12.fc11 (2009-12827)
References
- http://bestpractical.typepad.com/files/rt-3.0.0-session_fixation.v3.patch
- http://bestpractical.typepad.com/files/rt-3.0.0-session_fixation.v3.patch
- http://bestpractical.typepad.com/files/rt-3.0.1-3.0.6-session_fixation.v3.patch
- http://bestpractical.typepad.com/files/rt-3.0.1-3.0.6-session_fixation.v3.patch
- http://bestpractical.typepad.com/files/rt-3.0.7-3.6.1-session_fixation.v3.patch
- http://bestpractical.typepad.com/files/rt-3.0.7-3.6.1-session_fixation.v3.patch
- http://bestpractical.typepad.com/files/rt-3.6.2-3.6.3-session_fixation.v3.patch
- http://bestpractical.typepad.com/files/rt-3.6.2-3.6.3-session_fixation.v3.patch
- http://bestpractical.typepad.com/files/rt-3.6.4-3.6.9-session_fixation.v2.patch
- http://bestpractical.typepad.com/files/rt-3.6.4-3.6.9-session_fixation.v2.patch
- http://bestpractical.typepad.com/files/rt-3.8-session_fixation.patch
- http://bestpractical.typepad.com/files/rt-3.8-session_fixation.patch
- http://blog.bestpractical.com/2009/11/session-fixation-vulnerability.html
- http://blog.bestpractical.com/2009/11/session-fixation-vulnerability.html
- http://lists.bestpractical.com/pipermail/rt-announce/2009-November/000176.html
- http://lists.bestpractical.com/pipermail/rt-announce/2009-November/000176.html
- http://lists.bestpractical.com/pipermail/rt-announce/2009-November/000177.html
- http://lists.bestpractical.com/pipermail/rt-announce/2009-November/000177.html
- http://secunia.com/advisories/37546
- http://secunia.com/advisories/37546
- http://secunia.com/advisories/37728
- http://secunia.com/advisories/37728
- http://www.securityfocus.com/bid/37162
- http://www.securityfocus.com/bid/37162
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54472
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54472
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00761.html
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00761.html
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00794.html
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00794.html
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00832.html
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00832.html