Media

LibOSDP RMAC revert to the beginning of the session

  • Publicada: 08.03.2024
  • Actualizado: 11.10.2026 13:19
  • Issues:
    • SCS_14 is allowed on encrypted connection (osdp_phy.c)
    • No validation for RMAC_I is only in response to osdp_SCRYPT (osdp_cp.c)
    • Couldn't find anything specific in the OSDP specifications indicating it is forbidden, I'm gussing it shouldn't be allowed according from the secure connection initialization flow (let me know if you think there is spec-rela ted change that should be done)
  • Attack:
    • Once RMAC_I message can be sent during a session, attacker with MITM access to the communication may intercept the original RMAC_I reply and save it.
    • While the session continues, the attacker will record all of the replies and save them, till capturing the message to be replied (can be detected by ID, length or time based on inspection of visual activity next to the reade r)
    • Once attacker captures a session with the message to be replayed, he stops reseting the connection and waits for signal to perform the replay to of the PD to CP message (ex: by signaling remotly to the MIMT device or setting a specific timing).
    • in order to replay, the attacker will craft a specific RMAC_I message in the proper seq of the execution, which will result in reverting the RMAC to the begining of the session.
    • At that phase - attacker can replay all the messages from the begining of the session.

Impact

Replay attack

Patches

This issue has been fixed in 298576d9214b48214092eebdd892ec77be085e5a

Software afectado

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

PlataformaPaqueteVersiones vulnerablesCorregida en
Python (PyPI) libosdp < 3.0.0 3.0.0

Referencias

Puntuación CVSS 5.1/10
Vector CVSS
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Debilidad (CWE)
CWE-924
Plataforma
Python (PyPI)
Paquete
libosdp
Publicada
08.03.2024
Actualizado
11.10.2026 13:19

Fuentes y licencias

OSV / GitHub Advisory Database - PYSEC-2026-1535 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-xhjw-7vh5-qxqm - CC BY 4.0

Historial de vulnerabilidades: libosdp

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

Entradas en total
2
Primera → última
03.2024 03.2024
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Media 2

Divulgaciones por año

  1. 2024: 2
  2. 2025: 0
  3. 2026: 0
  1. LibOSDP RMAC revert to the beginning of the session esta entrada
    Media · 5.1 CVE-2024-52288 < 3.0.0 3.0.0
  2. Media · 6.5 CVE-2024-52296 < 2.4.0 2.4.0

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.