CVE-2026-46491
CVE-2026-46491 · SimpleSAMLphp casserver FileSystemTicketStore path traversal allows out-of-ticket-directory read/unserialize and conditional deletion
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
SimpleSAMLphp-casserver is a CAS 1.0 and 2.0 compliant CAS server in the form of a SimpleSAMLphp module. Prior to version 7.0.3, simplesamlphp-module-casserver builds file paths for the file-based CAS ticket store by directly concatenating the configured ticket directory with an attacker-controlled ticket identifier. Public CAS validation/proxy endpoints pass attacker-controlled ticket / pgt query parameters into this store. In deployments using FileSystemTicketStore, a remote attacker can use path traversal sequences such as ../target.serialized to make the CAS server read and unserialize files outside the ticket directory. In the CAS 1.0 validation flow, the same attacker-selected path is also passed to deleteTicket() immediately after getTicket() returns, which can delete the target file when it is readable by the PHP process, deletable under the PHP process filesystem permissions, and unserializes to a value compatible with the ?array return type. This issue has been patched in version 7.0.3.
CVSS 8.6 · Élevée · EPSS 0,4% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: php
Produits et versions concernés
simplesamlphp-module-casserver
- Versions du logiciel
- < 7.0.3: Concernée
Aucun correctif publié
simplesamlphp/simplesamlphp-module-casserver Packagist
- Versions du logiciel
- v6.0.0
- v6.1.0
- v6.1.1
- v6.1.2
- v6.2.0
- v6.2.1
- v6.3.0
- v6.3.1
- v7.0.0
- v7.0.0-rc1
- v7.0.0-rc2
- v7.0.0-rc3
- v7.0.1
- v7.0.2
- Plages de versions concernées
- ECOSYSTEM: < 7.0.3
Mettez à jour vers 7.0.3
Sources originales
- https://github.com/simplesamlphp/simplesamlphp-module-casserver/security/advisories/GHSA-jrrg-99xh-5j2q
- https://github.com/simplesamlphp/simplesamlphp-module-casserver/commit/b84f3e4ed57c4d97e0dc73df102e7eff831a681f
- https://github.com/simplesamlphp/simplesamlphp-module-casserver/releases/tag/v7.0.3
- https://nvd.nist.gov/vuln/detail/CVE-2026-46491