Advisory Details

December 20th, 2023

oFono SMS Decoder Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-23-1858
ZDI-CAN-21015

CVE ID CVE-2023-4234
CVSS SCORE 8.1, AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS oFono
AFFECTED PRODUCTS oFono
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=2255399
DISCLOSURE TIMELINE
  • 2023-05-10 - Vulnerability reported to vendor
  • 2023-12-20 - Coordinated public release of advisory
CREDIT Mitch Zakocs @ ASU SEFCOM Lab
BACK TO ADVISORIES