Vulnerability · Published Aug 5, 2024 · Assigned by zdi
CVE-2024-7544oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability
High 7.8
In plain English
A high-severity heap buffer overflow in oFono from oFono. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability. The specific flaw exists within the parsing of STK command PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23457.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ofono | no fix listed | DEBIAN-CVE-2024-7544 |
| Debian:13 | ofono | 2.14-1 | DEBIAN-CVE-2024-7544 |
| Debian:14 | ofono | 2.14-1 | DEBIAN-CVE-2024-7544 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- ZDI-24-1084 x_research-advisory