Vulnerabilities > CVE-2012-1105 - Information Exposure vulnerability in multiple products
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
NONE Availability impact
NONE Summary
An Information Disclosure vulnerability exists in the Jasig Project php-pear-CAS 1.2.2 package in the /tmp directory. The Central Authentication Service client library archives the debug logging file in an insecure manner.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 | |
OS | 2 | |
OS | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Subverting Environment Variable Values The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
- Footprinting An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
- 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.
- Browser Fingerprinting An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
- Session Credential Falsification through Prediction This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.
Nessus
NASL family Fedora Local Security Checks NASL id FEDORA_2012-3903.NASL description Upstream changelog Changes in version 1.3.0 Bug Fixes : - the saml logout url should be parsed urlencoded [#24] (dlineate) - fix a proxy mode bug introduced in a previous comitt [#16] (Adam Franco) - Fix include_path order so that the phpCAS path takes precedence [#13] (Adam Franco) - fix invalid characters in the php session naming [#17] (Joachim Fritschi) - fix an initialisation problem introduced in the PGT storage [18] (Daniel Frett) - make sure the PGTStorage object is initialized if a user is utilizing the createTable method [#4] (Daniel Frett) - Fix error message in phpCAS::setCacheTimesForAuthRecheck() [PHPCAS-132/#1] (Bradley Froehle) - Always return attributes in utf8 [PHPCAS-102] - Fix warning during debugging if debug is set to false [PHPCAS-123] (Sean Watkins) New Features : - Add a script to create the PGT db table in proxy mode [#11] (Joachim Fritschi) - Switch to the Apache License [#5] (Adam Franco, Joachim Fritschi) - Move to github and add all necessary file to package [#12] (Adam Franco) - New build process for github [#12] (Adam Franco) - Update unit tests to work with the lastest phpunit version [PHPCAS-128] (Adam Franco) - Refacatoring of the protocol decision making to allow validation of proxied usage [PHPCAS-69] (Joachim Fritschi, Adam Franco) - Rebroadcast of logout and pgtiou to support clustered phpcas [PHPCAS-100] (Matthew Selwood, Adam Franco) Improvements : - Improved cookie handling [] (Adam Franco - Indent, format and user name guidelines of PEAR [#14] (Joachim Fritschi) - Add a class autoloading feature [PHPCAS-125/#8] (Joachim Fritschi) - Remove global variables [PHPCAS-126] (Adam Franco) - Implementation of an exception framework to allow gracefull termination [PHPCAS-109] (Joachim Fritschi) - enable single sign-out when session has already started [#29] (Benvii) Security Fixes : - CVE-2012-1104 validate proxied usage of a service [PHPCAS-69] (Joachim Fritschi, Adam Franco) - CVE-2012-1105 change the default PGT save path to the session storage path and set proper permissions [#22] (Joachim Fritschi) 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-03-17 modified 2012-04-12 plugin id 58689 published 2012-04-12 reporter This script is Copyright (C) 2012-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/58689 title Fedora 17 : php-pear-CAS-1.3.0-2.fc17 (2012-3903) NASL family Fedora Local Security Checks NASL id FEDORA_2012-4077.NASL description Upstream changelog Changes in version 1.3.0 Bug Fixes : - the saml logout url should be parsed urlencoded [#24] (dlineate) - fix a proxy mode bug introduced in a previous comitt [#16] (Adam Franco) - Fix include_path order so that the phpCAS path takes precedence [#13] (Adam Franco) - fix invalid characters in the php session naming [#17] (Joachim Fritschi) - fix an initialisation problem introduced in the PGT storage [18] (Daniel Frett) - make sure the PGTStorage object is initialized if a user is utilizing the createTable method [#4] (Daniel Frett) - Fix error message in phpCAS::setCacheTimesForAuthRecheck() [PHPCAS-132/#1] (Bradley Froehle) - Always return attributes in utf8 [PHPCAS-102] - Fix warning during debugging if debug is set to false [PHPCAS-123] (Sean Watkins) New Features : - Add a script to create the PGT db table in proxy mode [#11] (Joachim Fritschi) - Switch to the Apache License [#5] (Adam Franco, Joachim Fritschi) - Move to github and add all necessary file to package [#12] (Adam Franco) - New build process for github [#12] (Adam Franco) - Update unit tests to work with the lastest phpunit version [PHPCAS-128] (Adam Franco) - Refacatoring of the protocol decision making to allow validation of proxied usage [PHPCAS-69] (Joachim Fritschi, Adam Franco) - Rebroadcast of logout and pgtiou to support clustered phpcas [PHPCAS-100] (Matthew Selwood, Adam Franco) Improvements : - Improved cookie handling [] (Adam Franco - Indent, format and user name guidelines of PEAR [#14] (Joachim Fritschi) - Add a class autoloading feature [PHPCAS-125/#8] (Joachim Fritschi) - Remove global variables [PHPCAS-126] (Adam Franco) - Implementation of an exception framework to allow gracefull termination [PHPCAS-109] (Joachim Fritschi) - enable single sign-out when session has already started [#29] (Benvii) Security Fixes : - CVE-2012-1104 validate proxied usage of a service [PHPCAS-69] (Joachim Fritschi, Adam Franco) - CVE-2012-1105 change the default PGT save path to the session storage path and set proper permissions [#22] (Joachim Fritschi) 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-03-17 modified 2012-04-02 plugin id 58547 published 2012-04-02 reporter This script is Copyright (C) 2012-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/58547 title Fedora 15 : php-pear-CAS-1.3.0-2.fc15 (2012-4077) NASL family Fedora Local Security Checks NASL id FEDORA_2012-4119.NASL description Upstream changelog Changes in version 1.3.0 Bug Fixes : - the saml logout url should be parsed urlencoded [#24] (dlineate) - fix a proxy mode bug introduced in a previous comitt [#16] (Adam Franco) - Fix include_path order so that the phpCAS path takes precedence [#13] (Adam Franco) - fix invalid characters in the php session naming [#17] (Joachim Fritschi) - fix an initialisation problem introduced in the PGT storage [18] (Daniel Frett) - make sure the PGTStorage object is initialized if a user is utilizing the createTable method [#4] (Daniel Frett) - Fix error message in phpCAS::setCacheTimesForAuthRecheck() [PHPCAS-132/#1] (Bradley Froehle) - Always return attributes in utf8 [PHPCAS-102] - Fix warning during debugging if debug is set to false [PHPCAS-123] (Sean Watkins) New Features : - Add a script to create the PGT db table in proxy mode [#11] (Joachim Fritschi) - Switch to the Apache License [#5] (Adam Franco, Joachim Fritschi) - Move to github and add all necessary file to package [#12] (Adam Franco) - New build process for github [#12] (Adam Franco) - Update unit tests to work with the lastest phpunit version [PHPCAS-128] (Adam Franco) - Refacatoring of the protocol decision making to allow validation of proxied usage [PHPCAS-69] (Joachim Fritschi, Adam Franco) - Rebroadcast of logout and pgtiou to support clustered phpcas [PHPCAS-100] (Matthew Selwood, Adam Franco) Improvements : - Improved cookie handling [] (Adam Franco - Indent, format and user name guidelines of PEAR [#14] (Joachim Fritschi) - Add a class autoloading feature [PHPCAS-125/#8] (Joachim Fritschi) - Remove global variables [PHPCAS-126] (Adam Franco) - Implementation of an exception framework to allow gracefull termination [PHPCAS-109] (Joachim Fritschi) - enable single sign-out when session has already started [#29] (Benvii) Security Fixes : - CVE-2012-1104 validate proxied usage of a service [PHPCAS-69] (Joachim Fritschi, Adam Franco) - CVE-2012-1105 change the default PGT save path to the session storage path and set proper permissions [#22] (Joachim Fritschi) 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-03-17 modified 2012-04-02 plugin id 58548 published 2012-04-02 reporter This script is Copyright (C) 2012-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/58548 title Fedora 16 : php-pear-CAS-1.3.0-2.fc16 (2012-4119)
References
- http://www.openwall.com/lists/oss-security/2012/03/05/7
- http://www.openwall.com/lists/oss-security/2012/03/05/7
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1105
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1105
- https://gitlab.vsb.cz/kal0178/sixmon/blob/b18bcde090dc38fc968a0b1e38d1dab08b8c369e/web/lib/CAS/CAS-1.3.5/docs/ChangeLog
- https://gitlab.vsb.cz/kal0178/sixmon/blob/b18bcde090dc38fc968a0b1e38d1dab08b8c369e/web/lib/CAS/CAS-1.3.5/docs/ChangeLog
- https://security-tracker.debian.org/tracker/CVE-2012-1105
- https://security-tracker.debian.org/tracker/CVE-2012-1105
- https://www.securityfocus.com/bid/52280
- https://www.securityfocus.com/bid/52280