Debian Package Tracker
Register | Log in
Subscribe

php-cas

Central Authentication Service client library in php

Choose email to subscribe with

general
  • source: php-cas (main)
  • version: 1.6.0-1
  • maintainer: Yadd (DMD) (LowNMU)
  • arch: all
  • std-ver: 4.6.1
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 1.3.3-4
  • oldstable: 1.3.6-1
  • stable: 1.3.8-1
  • testing: 1.6.0-1
  • unstable: 1.6.0-1
versioned links
  • 1.3.3-4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.3.6-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.3.8-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.6.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • php-cas
action needed
A new upstream version is available: 1.6.1 high
A new upstream version 1.6.1 is available, you should consider packaging it.
Created: 2023-02-23 Last update: 2023-03-20 12:02
1 security issue in buster high

There is 1 open security issue in buster.

1 important issue:
  • CVE-2022-39369: phpCAS is an authentication library that allows PHP applications to easily authenticate users via a Central Authentication Service (CAS) server. The phpCAS library uses HTTP headers to determine the service URL used to validate tickets. This allows an attacker to control the host header and use a valid ticket granted for any authorized service in the same SSO realm (CAS server) to authenticate to the service protected by phpCAS. Depending on the settings of the CAS server service registry in worst case this may be any other service URL (if the allowed URLs are configured to "^(https)://.*") or may be strictly limited to known and authorized services in the same SSO federation if proper URL service validation is applied. This vulnerability may allow an attacker to gain access to a victim's account on a vulnerable CASified service without victim's knowledge, when the victim visits attacker's website while being logged in to the same CAS server. phpCAS 1.6.0 is a major version upgrade that starts enforcing service URL discovery validation, because there is unfortunately no 100% safe default config to use in PHP. Starting this version, it is required to pass in an additional service base URL argument when constructing the client class. For more information, please refer to the upgrading doc. This vulnerability only impacts the CAS client that the phpCAS library protects against. The problematic service URL discovery behavior in phpCAS < 1.6.0 will only be disabled, and thus you are not impacted from it, if the phpCAS configuration has the following setup: 1. `phpCAS::setUrl()` is called (a reminder that you have to pass in the full URL of the current page, rather than your service base URL), and 2. `phpCAS::setCallbackURL()` is called, only when the proxy mode is enabled. 3. If your PHP's HTTP header input `X-Forwarded-Host`, `X-Forwarded-Server`, `Host`, `X-Forwarded-Proto`, `X-Forwarded-Protocol` is sanitized before reaching PHP (by a reverse proxy, for example), you will not be impacted by this vulnerability either. If your CAS server service registry is configured to only allow known and trusted service URLs the severity of the vulnerability is reduced substantially in its severity since an attacker must be in control of another authorized service. Otherwise, you should upgrade the library to get the safe service discovery behavior.
Created: 2022-11-04 Last update: 2022-11-12 08:15
1 security issue in bullseye high

There is 1 open security issue in bullseye.

1 important issue:
  • CVE-2022-39369: phpCAS is an authentication library that allows PHP applications to easily authenticate users via a Central Authentication Service (CAS) server. The phpCAS library uses HTTP headers to determine the service URL used to validate tickets. This allows an attacker to control the host header and use a valid ticket granted for any authorized service in the same SSO realm (CAS server) to authenticate to the service protected by phpCAS. Depending on the settings of the CAS server service registry in worst case this may be any other service URL (if the allowed URLs are configured to "^(https)://.*") or may be strictly limited to known and authorized services in the same SSO federation if proper URL service validation is applied. This vulnerability may allow an attacker to gain access to a victim's account on a vulnerable CASified service without victim's knowledge, when the victim visits attacker's website while being logged in to the same CAS server. phpCAS 1.6.0 is a major version upgrade that starts enforcing service URL discovery validation, because there is unfortunately no 100% safe default config to use in PHP. Starting this version, it is required to pass in an additional service base URL argument when constructing the client class. For more information, please refer to the upgrading doc. This vulnerability only impacts the CAS client that the phpCAS library protects against. The problematic service URL discovery behavior in phpCAS < 1.6.0 will only be disabled, and thus you are not impacted from it, if the phpCAS configuration has the following setup: 1. `phpCAS::setUrl()` is called (a reminder that you have to pass in the full URL of the current page, rather than your service base URL), and 2. `phpCAS::setCallbackURL()` is called, only when the proxy mode is enabled. 3. If your PHP's HTTP header input `X-Forwarded-Host`, `X-Forwarded-Server`, `Host`, `X-Forwarded-Proto`, `X-Forwarded-Protocol` is sanitized before reaching PHP (by a reverse proxy, for example), you will not be impacted by this vulnerability either. If your CAS server service registry is configured to only allow known and trusted service URLs the severity of the vulnerability is reduced substantially in its severity since an attacker must be in control of another authorized service. Otherwise, you should upgrade the library to get the safe service discovery behavior.
Created: 2022-11-04 Last update: 2022-11-12 08:15
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.6.2 instead of 4.6.1).
Created: 2022-12-17 Last update: 2022-12-17 19:18
news
[rss feed]
  • [2022-11-12] php-cas 1.6.0-1 MIGRATED to testing (Debian testing watch)
  • [2022-11-07] Accepted php-cas 1.6.0-1 (source) into unstable (Yadd) (signed by: Xavier Guimard)
  • [2019-12-13] php-cas 1.3.8-1 MIGRATED to testing (Debian testing watch)
  • [2019-12-07] Accepted php-cas 1.3.8-1 (source) into unstable (Xavier Guimard)
  • [2019-02-20] php-cas 1.3.6-1 MIGRATED to testing (Debian testing watch)
  • [2019-02-10] Accepted php-cas 1.3.6-1 (source) into unstable (Xavier Guimard)
  • [2016-06-06] php-cas 1.3.3-4 MIGRATED to testing (Debian testing watch)
  • [2016-05-31] Accepted php-cas 1.3.3-4 (source all) into unstable (Jean-Michel Vourgère)
  • [2016-05-05] php-cas 1.3.3-3 MIGRATED to testing (Debian testing watch)
  • [2016-04-24] Accepted php-cas 1.3.3-3 (source all) into unstable (Olivier Berger)
  • [2016-02-11] php-cas 1.3.3-2 MIGRATED to testing (Debian testing watch)
  • [2016-02-06] Accepted php-cas 1.3.3-2 (source all) into unstable (Olivier Berger)
  • [2014-09-09] php-cas 1.3.3-1 MIGRATED to testing (Britney)
  • [2014-09-04] php-cas 1.3.2-2 MIGRATED to testing (Britney)
  • [2014-09-04] Accepted php-cas 1.3.3-1 (source all) into unstable (Olivier Berger)
  • [2014-09-03] Accepted php-cas 1.3.1-4+deb7u1 (source all) into proposed-updates->stable-new, proposed-updates (Thijs Kinkhorst)
  • [2014-07-17] php-cas REMOVED from testing (Britney)
  • [2013-09-21] php-cas 1.3.2-2 MIGRATED to testing (Debian testing watch)
  • [2013-09-10] Accepted php-cas 1.3.2-2 (source all) (Olivier Berger)
  • [2013-01-29] php-cas 1.3.1-4 MIGRATED to testing (Debian testing watch)
  • [2013-01-26] Accepted php-cas 1.3.2-1 (source all) (Olivier Berger)
  • [2013-01-26] Accepted php-cas 1.3.1-4 (source all) (Olivier Berger)
  • [2012-12-18] php-cas 1.3.1-3 MIGRATED to testing (Debian testing watch)
  • [2012-12-12] Accepted php-cas 1.3.1-3 (source all) (Olivier Berger)
  • [2012-12-12] Accepted php-cas 1.3.1-2 (source all) (Olivier Berger)
  • [2012-07-08] php-cas 1.3.1-1 MIGRATED to testing (Debian testing watch)
  • [2012-06-28] Accepted php-cas 1.3.1-1 (source all) (Olivier Berger)
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • edit tags
  • other distros
  • security tracker
  • screenshots
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 1.6.0-1
  • 1 bug

Debian Package Tracker — Copyright 2013-2018 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing