SecurityContext

CVE-2024-7538: oFono - Buffer Overflow

  • Cve: CVE-2024-7538
  • Name: oFono - Buffer Overflow
  • Description: oFono CUSD AT Command Stack-based Buffer Overflow Code Execution 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 responses from AT Commands. 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 root. Was ZDI-CAN-23190.
  • Impact: Local attackers can execute arbitrary code with root privileges on affected systems.
  • Remediation: Update to the latest version of oFono where this vulnerability is fixed or apply security patches addressing this issue.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker must have code execution ability on the target modem
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00292
  • Epss percentile: 0.2205
  • Assignee: [email protected]
  • Published at: 2024-08-06T00:15:34Z
  • Age in days: 840
  • Modified at: 2026-06-17T08:20:24Z
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-7538
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow
CWE-787Out-of-bounds Write

References

UrlSourceTags
https://www.zerodayinitiative.com/advisories/ZDI-24-1078/nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
ofono_project:ofono= 1.34nonvd/v1/products/ofono_project/ofono

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts