Vulnerability · Published Aug 5, 2024 · Assigned by zdi

CVE-2024-7538oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability

High 7.8

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.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 78.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution 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 responses from AT Commands. 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 root. Was ZDI-CAN-23190.

Affected packages & fixed versions

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

Affected products (as reported)

VendorProductVersions
oFono oFono 1.34

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

References