ZDI-CAN-23456: (0Day) 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.
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-7543.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-23456?
The severity of ZDI-CAN-23456 is high due to its potential for arbitrary code execution.
How do I fix ZDI-CAN-23456?
To fix ZDI-CAN-23456, update to the latest version of oFono that patches the vulnerability.
Who is affected by ZDI-CAN-23456?
ZDI-CAN-23456 affects installations of oFono, specifically those with vulnerable STK command parsing.
Can ZDI-CAN-23456 be exploited remotely?
No, ZDI-CAN-23456 requires local access to the modem for exploitation.
What actions should I take if I am vulnerable to ZDI-CAN-23456?
If vulnerable to ZDI-CAN-23456, immediately apply the recommended patches and restrict local access to the modem.