CVE-2024-13942
Last modified
CVE-2024-13942 is a high-severity vulnerability rated 7.6/10 on the CVSS scale. Secure BootROM of RK3588s SoC is vulnerable to a time-of-check to time-of-use attack in case of booting from external media (SPI NOR or NAND, EMMC or SD). The code reads the header of the next-stage loader twice. The header contains hashes of the executable modules and is signed with a private key, the public part of which is verified against the SHA256 digest blown in the OTP. The first read is only partial and contains only the hashes of the executable modules. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
Secure BootROM of RK3588s SoC is vulnerable to a time-of-check to time-of-use attack in case of booting from external media (SPI NOR or NAND, EMMC or SD). The code reads the header of the next-stage loader twice. The header contains hashes of the executable modules and is signed with a private key, the public part of which is verified against the SHA256 digest blown in the OTP. The first read is only partial and contains only the hashes of the executable modules. The second is complete, including the header signature. Although the header is verified based on the fully read data, the authenticity of the executable modules is checked against the partial data from the first read. An attacker with physical access to a device containing RK3588s SoC can easily modify the next-stage loader data on-the-fly using a low-cost SD-card or SPI NOR/NAND or EMMC emulator. Even a simple ultra low-cost circuit comprising two memory chips (containing the same data but different headers - the original and the modified one) and a multiplexer can be used to carry out an attack. This can lead to arbitrary code execution with the highest privileges available (EL3). This issue affects RK3588s: RK3588s SoC BootROM (secure) 350B20210512V100 and possibly others. As remediation apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable https://www.rock-chips.com/a/en/products/RK35_Series/2022/0926/1660.html
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Rockchip | RK3588s | 350B20210512V100 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-13942?
How severe is CVE-2024-13942?
How do I fix CVE-2024-13942?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-13931Relative Path Traversal vulnerabilities in ASPECT allow acce…7.5
- CVE-2024-13933The FoodBakery | Delivery Restaurant Directory WordPress The…8.8
- CVE-2024-13939String::Compare::ConstantTime for Perl through 0.321 is vuln…7.5
- CVE-2024-1394A memory leak flaw was found in Golang in the RSA encrypting…7.5
- CVE-2024-13940The Ninja Forms Webhooks plugin for WordPress is vulnerable …5.5
- CVE-2024-13941A vulnerability was found in ouch-org ouch up to 0.3.1. It h…5.3
- CVE-2024-13943Tesla Model S Iris Modem QCMAP_ConnectionManager Improper In…7.8
- CVE-2024-13944Link Following Local Privilege Escalation Vulnerability in N…7.8
- CVE-2024-13945Stored Absolute Path Traversal vulnerabilities in ASPECT cou…8.4
- CVE-2024-13946DLL's are not digitally signed when loaded in ASPECT's confi…7.1
- CVE-2024-13947Device commissioning parameters in ASPECT may be modified by…7.1
- CVE-2024-13948Windows permissions for ASPECT configuration toolsets are no…7.3
Are you affected by CVE-2024-13942?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
