Skip to content
Memory corruption Advisory Advanced CVE-2022-32293

(Pwn2Own) ConnMan wispr_portal_web_result wp_object Double Free Remote Code Execution Vulnerability

ConnMan's wispr_portal_web_result method frees an object without first checking that it still exists, leading to a double free. A network-adjacent attacker could exploit this to run code as the ConnMan process.

David Berard Follow

Originally disclosed on Zero Day Initiative

Medium 6.3 View original

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of ConnMan. Authentication is not required to exploit this vulnerability.

David BERARD and Vincent DEHORS from @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

Root cause

Likely the code frees an object in wispr_portal_web_result without checking whether it had already been freed or was still valid.

Impact

A network-adjacent attacker could execute arbitrary code in the context of the ConnMan process; the text does not describe any defence that limited the exploit.

What the attacker needed

Network-adjacent access to the device; no authentication needed

The fix

The vendor published commits addressing the flaw, so it was fixed.

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.

ConnMan is software that manages network connections on Linux devices. A double free happens when a program releases the same piece of memory twice; the second release can corrupt memory and let an attacker take control. Here an attacker on the same network could trigger this and run their own code on the device.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by David Berard

View all

1 more disclosed report, 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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.