Cookie Crimes and the new Microsoft Edge Browser
The Chromium remote debugging feature can be abused by local malware to steal cookies from the browser. The new Microsoft Edge, being Chromium-based, inherits this behaviour, so an attacker with local access could read authenticated session cookies.
embracethered.com
Published on embracethered.com
In 2018 @mangopdf described “Cookie Crimes”, which is great research around Chrome’s remote debugging feature that allows adversaries and malware to gain access to cookies quite convienently during post-exploitation.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Chromium remote debugging interface is enabled without adequate local access controls, allowing any local process to connect and read cookie data.
Impact
An attacker who already has local code execution could steal cookies and hijack authenticated sessions in the new Edge browser.
What the attacker needed
Local access to the victim machine; malware already running
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 write-up has not been written yet. The Original tab links to the source.
Browsers can be started with a special debugging option that lets other programs on the same computer talk to them. If malware is already running on your machine, it can use that option to read your logged-in cookies and take over your accounts. The new Edge browser is built on the same engine as Chrome, so it has the same weakness.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.