Alta

Validation of SignedInfo

  • Publicada: 28.11.2023
  • Actualizado: 11.10.2026 10:22

Validation of an XML Signature requires verification that the hash value of the related XML-document (after any optional transformations and/or normalizations) matches a specific DigestValue-value, but also that the cryptografic signature on the SignedInfo-tree (the one that contains the DigestValue) verifies and matches a trusted public key.

Within the simpleSAMLphp/xml-security library (https://github.com/simplesamlphp/xml-security), the hash is being validated using SignedElementTrait::validateReference, and the signature is being verified in SignedElementTrait::verifyInternal

https://github.com/simplesamlphp/xml-security/blob/master/src/XML/SignedElementTrait.php:

afbeelding

What stands out is that the signature is being calculated over the canonical version of the SignedInfo-tree. The validateReference method, however, uses the original non-canonicalized version of SignedInfo.

Impact

If an attacker somehow (i.e. by exploiting a bug in PHP's canonicalization function) manages to manipulate the canonicalized version's DigestValue, it would be potentially be possible to forge the signature. No possibilities to exploit this were found during the investigation.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Paquete de Composer simplesamlphp/saml2 >= 5.0.0-alpha.12, < 5.0.0-alpha.13 5.0.0-alpha.13
Paquete de Composer simplesamlphp/xml-security >= 1.6.11, < 1.6.12 1.6.12

Referencias

Puntuación CVSS 7.5/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Debilidad (CWE)
CWE-345
Plataforma
Composer
Paquete
simplesamlphp/saml2, simplesamlphp/xml-security
Publicada
28.11.2023
Actualizado
11.10.2026 10:22

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-ww7x-3gxh-qm6r - CC BY 4.0

Historial de vulnerabilidades: simplesamlphp/saml2

Todas las vulnerabilidades publicadas de este paquete (Paquete de Composer), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (9) en el archivo
Entradas en total
9
Primera → última
05.2022 07.2026
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Crítica 1
  • Alta 7
  • Media 1

Divulgaciones por año

  1. 2022: 4
  2. 2023: 1
  3. 2024: 1
  4. 2025: 1
  5. 2026: 2
Gravedad:
  1. Alta · 7.5 CVE-2026-49289 >= 4.20.0, < 4.20.3, < 4.19.3 4.20.3, 4.19.3
  2. Alta · 8.7 CVE-2026-49283 >= 6.0.0, < 6.2.1, >= 5.0.0, < 5.0.6, >= 4.20.0, < 4.20.2, < 4.19.3 6.2.1, 5.0.6, 4.20.2, 4.19.3
  3. Alta · 8.6 CVE-2025-27773 < 4.17.0, >= 5.0.0-alpha.1, < 5.0.0-alpha.20 4.17.0, 5.0.0-alpha.20
  4. Validation of SignedInfo esta entrada
    Alta · 7.5 CVE-2023-49087 >= 5.0.0-alpha.12, < 5.0.0-alpha.13 5.0.0-alpha.13
  5. Crítica · 9.1 CVE-2016-9814 >= 1.10, < 1.10.3, < 1.8.1, >= 1.9.0, < 1.9.1, >= 2.0, < 2.3.3 1.10.3, 1.8.1, 1.9.1, 2.3.3
  6. Alta · 8.1 CVE-2018-7711 < 1.10.6, >= 2.0, < 2.3.8, >= 3.0, < 3.1.4 1.10.6, 2.3.8, 3.1.4
  7. Alta · 7.5 CVE-2018-6519 < 1.10.4, >= 2.0, < 2.3.5, >= 3.0, < 3.1.1 1.10.4, 2.3.5, 3.1.1
  8. Alta · 7.5 CVE-2018-7644 < 1.10.5, >= 2.0, < 2.3.7, >= 3.0, < 3.1.3 1.10.5, 2.3.7, 3.1.3

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.