Improper Enforcement of Message Integrity During Transmission in a Communication Channel Affecting goToMain/libosdp package, versions [,3.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GOTOMAINLIBOSDP-6421099
  • published11 Mar 2024
  • disclosed8 Mar 2024
  • creditEran Jacob

Introduced: 8 Mar 2024

CVE-2024-52288  (opens in a new tab)
CWE-924  (opens in a new tab)

How to fix?

Upgrade goToMain/libosdp to version 3.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Enforcement of Message Integrity During Transmission in a Communication Channel in the osdp_phy.c and osdp_cp.c components.

An attacker with Man-In-The-Middle (MITM) access to the communication can intercept the original RMAC_I reply and save it. As the session continues, the attacker records all replies until capturing the message to be replayed. The attacker then stops resetting the connection, waits for a signal to perform the replay of the PD to CP message, and crafts a specific RMAC_I message in the proper sequence of execution, which results in reverting the RMAC to the beginning of the session. At this phase, the attacker can replay all the messages from the beginning of the session.

References

CVSS Base Scores

version 4.0
version 3.1