ZDI-24-1079: (0Day) (Pwn2Own) oFono CUSD 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+CUSD 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.
Other sources
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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2024-7539.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-24-1079?
The severity of ZDI-24-1079 is high due to the potential for arbitrary code execution by local attackers.
How do I fix ZDI-24-1079?
To fix ZDI-24-1079, update the oFono software to the latest version where the vulnerability is addressed.
Who is affected by ZDI-24-1079?
ZDI-24-1079 affects installations of oFono that are vulnerable to local code execution exploits.
What type of attacks can be carried out using ZDI-24-1079?
ZDI-24-1079 can be exploited to execute arbitrary code on the target modem after an attacker gains code execution capabilities.
Is ZDI-24-1079 easy to exploit?
Exploiting ZDI-24-1079 requires local access to the device, making it less likely but still potentially dangerous.