Advisory Details

January 4th, 2024

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

ZDI-24-013
ZDI-CAN-21016

CVE ID CVE-2023-4235
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=2255402
DISCLOSURE TIMELINE
  • 2023-05-10 - Vulnerability reported to vendor
  • 2024-01-04 - Coordinated public release of advisory
  • 2024-07-01 - Advisory Updated
CREDIT Mitch Zakocs @ ASU SEFCOM Lab
BACK TO ADVISORIES