Skip to content
OpenAdvisories
High · 7.8 CVE-2024-7545 EUVD-2024-48452GHSA-f64h-f2xm-35c7

oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability

Published Aug 5, 2024 · Updated Aug 6, 2024 · Assigned by zdi

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-23458.

Affected products

VendorProductAffectedFixed
oFono oFono 2.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ofono 2.14-1 —
Debian 13 ofono 2.14-1 —
Debian 12 ofono No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS ofono 1.31-3ubuntu3.24.04.2+esm1 —
Ubuntu Pro 22.04 LTS ofono 1.31-3ubuntu1.2+esm1 —
Ubuntu Pro 20.04 LTS ofono 1.31-2ubuntu1+esm3 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS ofono 1.21-1ubuntu1+esm3 —
Ubuntu Pro 16.04 LTS ofono 1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm3 —
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 ofono 2.19-bp160.1.1 openSUSE-SU-2026:21154-1

Advisories 1

References