oFono SMS Decoder Stack-based Buffer Overflow Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on affected installations of oFono. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the parsing of SMS PDUs. 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 the service account.
Additional Details
oFono has issued an update to correct this vulnerability. More details can be found at:
https://bugzilla.redhat.com/show_bug.cgi?id=2255394
Disclosure Timeline
- 2023-05-10 - Vulnerability reported to vendor
- 2023-12-20 - Coordinated public release of advisory
Credit
Mitch Zakocs @ ASU SEFCOM Lab