CVE-2024-7538 oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 4 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ofono(Debian 12) | = 1.31-3; = 1.31-4; = 2.10-1; = 2.11-1 +11 more | No fix listed | No fix yet |
| debian/ofono(Debian 13) | < 2.14-1 | 2.14-1 | Fixed |
| debian/ofono(Debian 14) | < 2.14-1 | 2.14-1 | Fixed |
| ubuntu/ofono(Ubuntu 22.04) | < 1.31-3ubuntu1.2+esm1 | 1.31-3ubuntu1.2+esm1 | Fixed |
| ubuntu/ofono(Ubuntu 24.04) | < 1.31-3ubuntu3.24.04.2+esm1 | 1.31-3ubuntu3.24.04.2+esm1 | Fixed |
| oFono | = 1.34 | No fix listed | Versions listed |
| ofono project ofono | = 1.34 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ofono(Debian:12) | All versions | No fix listed |
| debian/ofono(Debian:12) | = 1.31-3 | No fix listed |
| debian/ofono(Debian:12) | = 1.31-4 | No fix listed |
| debian/ofono(Debian:12) | = 2.10-1 | No fix listed |
| debian/ofono(Debian:12) | = 2.11-1 | No fix listed |
| debian/ofono(Debian:12) | = 2.12-1 | No fix listed |
| debian/ofono(Debian:12) | = 2.14-1 | No fix listed |
| debian/ofono(Debian:12) | = 2.16-1 | No fix listed |
| debian/ofono(Debian:12) | = 2.16-2 | No fix listed |
| debian/ofono(Debian:12) | = 2.16-3 | No fix listed |
| debian/ofono(Debian:12) | = 2.16-4 | No fix listed |
| debian/ofono(Debian:12) | = 2.16-5 | No fix listed |
| debian/ofono(Debian:12) | = 2.18-1 | No fix listed |
| debian/ofono(Debian:12) | = 2.18-2 | No fix listed |
| debian/ofono(Debian:12) | = 2.19-1 | No fix listed |
| debian/ofono(Debian:13) | < 2.14-1 | 2.14-1 |
| debian/ofono(Debian:14) | < 2.14-1 | 2.14-1 |
| ubuntu/ofono(Ubuntu:22.04) | < 1.31-3ubuntu1.2+esm1 | 1.31-3ubuntu1.2+esm1 |
| oFono | = 1.34 | No fix listed |
| ubuntu/ofono(Ubuntu:24.04) | < 1.31-3ubuntu3.24.04.2+esm1 | 1.31-3ubuntu3.24.04.2+esm1 |
| ofono project ofono | = 1.34 | No fix listed |
References
- Debian Security Tracker CVE-2024-7538 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8178-1 vendor-advisory
- www.cve.org
- ZDI-24-1078 third-party-advisory
- bugs.debian.org issue-tracking