Vulnerability · Published Aug 5, 2024 · Assigned by zdi
CVE-2024-7547oFono SMS Decoder Stack-based Buffer Overflow Privilege Escalation Vulnerability
High 7.0
In plain English
A high-severity stack 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.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
oFono SMS Decoder Stack-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 SMS PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23460.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ofono | no fix listed | DEBIAN-CVE-2024-7547 |
| Debian:13 | ofono | 2.14-1 | DEBIAN-CVE-2024-7547 |
| Debian:14 | ofono | 2.14-1 | DEBIAN-CVE-2024-7547 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- ZDI-24-1087 x_research-advisory