Vulnerabilities > CVE-2012-1104 - Improper Privilege Management vulnerability in multiple products

047910
CVSS 5.3 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
LOW
Availability impact
NONE
network
low complexity
apereo
debian
CWE-269
nessus

Summary

A Security Bypass vulnerability exists in the phpCAS 1.2.2 library from the jasig project due to the way proxying of services are managed.

Vulnerable Configurations

Part Description Count
Application
Apereo
1
OS
Linux
1
OS
Debian
1

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.

Nessus

  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2012-3903.NASL
    descriptionUpstream 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 seen2020-03-17
    modified2012-04-12
    plugin id58689
    published2012-04-12
    reporterThis script is Copyright (C) 2012-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/58689
    titleFedora 17 : php-pear-CAS-1.3.0-2.fc17 (2012-3903)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2012-4077.NASL
    descriptionUpstream 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 seen2020-03-17
    modified2012-04-02
    plugin id58547
    published2012-04-02
    reporterThis script is Copyright (C) 2012-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/58547
    titleFedora 15 : php-pear-CAS-1.3.0-2.fc15 (2012-4077)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2012-4119.NASL
    descriptionUpstream 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 seen2020-03-17
    modified2012-04-02
    plugin id58548
    published2012-04-02
    reporterThis script is Copyright (C) 2012-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/58548
    titleFedora 16 : php-pear-CAS-1.3.0-2.fc16 (2012-4119)