CVE-2024-7538
NixOS vulnerability analysis and mitigation

Overview

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability (CVE-2024-7538) affects oFono installations and was discovered in early 2024. The vulnerability allows local attackers to execute arbitrary code on affected installations of oFono, requiring initial access to execute code on the target modem (ZDI Advisory).

Technical details

The vulnerability exists within the parsing of responses from AT Commands. The specific flaw stems from the lack of proper validation of the length of user-supplied data before copying it to a stack-based buffer. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

If successfully exploited, an attacker can leverage this vulnerability to execute code in the context of root, potentially gaining complete control over the affected system (ZDI Advisory).

Mitigation and workarounds

As of August 2024, there is no official patch available. ZDI made multiple attempts to report the vulnerability to the vendor via the oFono distribution list, Red Hat, and upstream Linux Kernel, but received no response. The Linux Kernel team indicated that since the issue "has nothing to do with the Linux Kernel," it should be reported to the distribution list (ZDI Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management