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.

Severity (CVSS 3.0)7.8High
Exploit odds (30 days)0.3%top 77.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12ofonono fix listedDEBIAN-CVE-2024-7544
Debian:13ofono2.14-1DEBIAN-CVE-2024-7544
Debian:14ofono2.14-1DEBIAN-CVE-2024-7544

Affected products (as reported)

VendorProductVersions
oFono oFono 2.3

Weakness: CWE-122 · Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References