🔍 CVE-2024-52288

5.1
CVSS Score
MEDIUM
2024-11-11
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

libosdp의 OSDP 프로토콜 구현에서 REPLY_CCRYPT 또는 REPLY_RMAC_I 메시지가 예상치 못하게 활성 스트림에 도입될 수 있습니다. 중간자 공격자가 RMAC_I 메시지를 탈취하여 세션 메시지를 기록한 후, RMAC을 세션 초기 상태로 되돌려 처음부터 모든 메시지를 재생할 수 있습니다.

💡 쉬운 설명

자물쇠 관리 프로그램의 통신 보안에 결함이 있어서 해커가 이전 명령어를 다시 실행할 수 있습니다. 3.0.0 버전 이상으로 업데이트하면 해결됩니다.

🇺🇸 원문 (English)

libosdp is an implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol) and provides a C library with support for C++, Rust and Python3. In affected versions an unexpected `REPLY_CCRYPT` or `REPLY_RMAC_I` may be introduced into an active stream when they should not be. 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 reader) Once attacker captures a session with the message to be replayed, he stops resetting the connection and waits for signal to perform the replay to of the PD to CP message (ex: by signaling remotely 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 beginning of the session. At that phase - attacker can replay all the messages from the beginning of the session. This issue has been addressed in commit `298576d9` which is included in release version 3.0.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

📍 영향받는 시스템

libosdp 3.0.0 미만의 모든 버전

⚔️ 공격 벡터

중간자(MITM) 공격으로 RMAC_I 메시지를 탈취하고 세션 재생 공격 수행

🛡️ 대응 방법

libosdp를 3.0.0 이상으로 업그레이드 (commit 298576d9 포함)

🔧 검증 코드

버전이 3.0.0 이상이면 안전하고, 3.0.0 미만이면 즉시 업그레이드 필요

Shell / Script
pip list 2>/dev/null | grep -i libosdp || dpkg -l libosdp 2>/dev/null | tail -1

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

💻 영향받는 소프트웨어

Python