Skip to content
Info disclosure Advisory Advanced CVE-2024-7542

(0Day) (Pwn2Own) oFono AT CMGR Command Uninitialized Variable Information Disclosure Vulnerability

The oFono software fails to initialise memory before parsing responses to AT+CMGR commands, which can leak sensitive information. A local attacker who can already execute code on the modem could use this flaw, possibly with other bugs, to run code as root.

Théo Gordyjan from Follow

Originally disclosed on Zero Day Initiative

This vulnerability allows local attackers to disclose sensitive information 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.

Synacktiv (@Synacktiv), on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

A local attacker with code execution on the modem could disclose sensitive information and, in combination with other vulnerabilities, execute arbitrary code as root.

What the attacker needed

Ability to execute code on the target modem

The fix

The vendor addressed the issue in a patch referenced in the advisory.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

oFono is software that handles phone modem commands. When it reads a response to a command called AT+CMGR, it sometimes uses memory that was never properly set up, so old data can leak out. An attacker who already has a foothold on the modem could read that leaked data and, with other bugs, take full control of the device.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Théo Gordyjan from

View all

17 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.