ZDI-24-1085: (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-7545.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-24-1085?
The severity of ZDI-24-1085 is highlighted as a critical vulnerability due to its potential to allow local attackers to execute arbitrary code.
How do I fix ZDI-24-1085?
To fix ZDI-24-1085, ensure that your oFono installation is updated to the latest version released by the vendor that addresses this vulnerability.
Who is affected by ZDI-24-1085?
ZDI-24-1085 affects installations of oFono that allow local code execution on the target modem.
What type of vulnerability is ZDI-24-1085?
ZDI-24-1085 is a local code execution vulnerability found in the parsing of STK command PDU within oFono.
Can ZDI-24-1085 be exploited remotely?
No, ZDI-24-1085 requires local access to the modem to exploit the vulnerability.