CVE-2026-46491

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.
Configurations

No configuration.

History

23 Jul 2026, 09:10

Type Values Removed Values Added
Summary
  • (es) SimpleSAMLphp-casserver es un servidor CAS compatible con CAS 1.0 y 2.0 en forma de módulo SimpleSAMLphp. Antes de la versión 7.0.3, simplesamlphp-module-casserver construye rutas de archivo para el almacén de tickets CAS basado en archivos concatenando directamente el directorio de tickets configurado con un identificador de ticket controlado por el atacante. Los puntos finales públicos de validación/proxy de CAS pasan parámetros de consulta de ticket / pgt controlados por el atacante a este almacén. En implementaciones que utilizan FileSystemTicketStore, un atacante remoto puede usar secuencias de salto de ruta como ../target.serialized para hacer que el servidor CAS lea y deserialice archivos fuera del directorio de tickets. En el flujo de validación de CAS 1.0, la misma ruta seleccionada por el atacante también se pasa a deleteTicket() inmediatamente después de que getTicket() retorna, lo que puede eliminar el archivo objetivo cuando es legible por el proceso PHP, eliminable bajo los permisos del sistema de archivos del proceso PHP, y se deserializa a un valor compatible con el tipo de retorno ?array. Este problema ha sido parcheado en la versión 7.0.3.

10 Jun 2026, 00:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-10 00:16

Updated : 2026-07-23 09:10


NVD link : CVE-2026-46491

Mitre link : CVE-2026-46491

CVE.ORG link : CVE-2026-46491


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')