Advisory Details

August 5th, 2024

(0Day) (Pwn2Own) oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability

ZDI-24-1080
ZDI-CAN-23307

CVE ID CVE-2024-7540
CVSS SCORE 3.3, AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
AFFECTED VENDORS oFono
AFFECTED PRODUCTS oFono
VULNERABILITY DETAILS

This vulnerability allows local attackers to disclose sensitive information 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+CMGL commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root.

ADDITIONAL DETAILS

08/05/24 – ZDI made multiple attempts to report the vulnerability to the vendor via the oFono distribution list, Red Hat, and upstream Linux Kernel, but the vendor did not respond. The Linux Kernel informed ZDI that since it “has nothing to do with the Linux Kernel,” we should report it to the distribution list.

-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the application


DISCLOSURE TIMELINE
  • 2024-02-29 - Vulnerability reported to vendor
  • 2024-08-05 - Coordinated public release of advisory
  • 2024-08-15 - Advisory Updated
CREDIT Synacktiv (@Synacktiv)
BACK TO ADVISORIES