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.

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

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

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

Affected products (as reported)

VendorProductVersions
oFono oFono 2.3

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

References