Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-52288— RMAC revert to the beginning of the session in libosdp

Quick assessment

Affected
goToMain libosdp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LibOSDP是goToMain开源的一个 IEC 60839-11-5 开放式监控设备协议的跨平台开源实现。旨在提高访问控制和安全产品之间的互操作性。 LibOSDP 3.0.0之前版本存在安全漏洞,该漏洞源于可能会在活动流中引入意外的REPLY_CCRYPT或REPLY_RMAC_I,而它们不应该出现,一旦RMAC_I消息可以在会话期间发送,具有MITM通信访问权限的攻击者就可以拦截原始RMAC_I回复并保存。

CVSS 5.1 · Medium EPSS 0.13% · P2
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-52288

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
RMAC revert to the beginning of the session in libosdp
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
通信信道中传输过程中消息完整性的不正确执行
Source: CVE Program / CVE List V5
Vulnerability Title
LibOSDP 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LibOSDP是goToMain开源的一个 IEC 60839-11-5 开放式监控设备协议的跨平台开源实现。旨在提高访问控制和安全产品之间的互操作性。 LibOSDP 3.0.0之前版本存在安全漏洞,该漏洞源于可能会在活动流中引入意外的REPLY_CCRYPT或REPLY_RMAC_I,而它们不应该出现,一旦RMAC_I消息可以在会话期间发送,具有MITM通信访问权限的攻击者就可以拦截原始RMAC_I回复并保存。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
goToMain libosdp < 3.0.0 -

II. Public POCs for CVE-2024-52288

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-52288

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-52288 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-52288

No comments yet


Leave a comment