Forging a Microsoft Edge Full Chain with Logic Bugs Only

Posted by austinallegro 11 hours ago

Counter217Comment38OpenOriginal

Comments

Comment by darkamaul 8 hours ago

Orange is a legend and this chain is extremely impressive here.

No memory corruptions, no heap shenanigans, just pure logic bugs, almost made easy to understand for the reader.

As a bonus, they also posted a reverse chain: popping Edge from calc [0].

[0] https://www.youtube.com/watch?v=Bh1zglq4mLE

Comment by mschuster91 2 hours ago

> As a bonus, they also posted a reverse chain: popping Edge from calc [0].

What the hell is going on there? Apparently they are spawning new and new and new instances of calc.exe until one random (?) instance is vulnerable to some sort of attack, then they inject some shellcode into it from outside, and manage to trigger it by inputting "1"s until there's an overflow?

Really looking forward to the writeup lol

Comment by its-summertime 9 hours ago

I always felt bad about the whole site/browser cross integration that chrome and edge and others do. Now I feel really really really bad about it. Can almost see the marketing team's emails about what features to add, and the developers unwantingly writing the code not expecting such things to open so many holes

Comment by xnickb 5 hours ago

I think they very well understand that this code was full of bugs but no one cared. Likely was assigned to some junior who was making an entry into the team/repos as a non-critical task.

And it's hard to judge them: I'd also rather focus on real features.

Comment by imtringued 2 hours ago

What?

Special casing your domains to be assumed "secure" is exactly how you build vulnerabilities directly into your software.

It's an inevitable result.

Developers aren't aware because they assume a security model where the special casing is disabled.

Comment by adzm 3 hours ago

> with a simple fetch(...) with credentials included, you can easily grab any Microsoft Edge user’s email from any website

Wow, this is disturbing on its own

Comment by MatthiasPortzel 1 hour ago

I was shocked at the popup blocker bypass, then the UXSS. Really impressive endurance to take this all the way to ACE.

Comment by antonly 5 hours ago

It's very refreshing to read such clearly written and concise technical reports.

Comment by layer8 4 hours ago

No “here’s why it matters” and friends, thankfully.

Comment by deburo 4 hours ago

I guess that explains the questions I had when I was mysteriously logged into Edge. I checked whether Chrome does something similar, and it can, but the setting "Sign in to Chrome when you sign in to other Google services" was set to "Don't sign in", so I'm not sure whether this is the default or not.

Comment by akersten 2 hours ago

Glad to now have some hard evidence I can reference whenever I bring up my strongly held intuitive opinion of "Microsoft repackaging someone else's browser and adding some extra stuff to it can only make Edge strictly worse"

Comment by tveita 6 hours ago

> So even if you’ve never created a User Profile in the browser, just visiting www.microsoft.com is enough for Edge to create one and sign you in automatically.

This is disgusting behaviour, RCE chain or not.

Comment by zhiyan 9 hours ago

human craft is becoming rare these days

Comment by Geezus_42 8 hours ago

Has been for a long time.

Comment by cubefox 7 hours ago

It's more that LLMs increasingly outperform humans in finding vulnerabilities, so the share of human discoveries goes down.

Comment by account42 5 hours ago

That's downplaying how LLMs discourage humans from thinking themselves by providing an easier "good enough" path.

Comment by LoganDark 3 hours ago

seconding this. it's even worse for those with executive dysfunction where it becomes too difficult to force one's self to continue taking what is now the long way around. even if you could do it so much better with time and practice.

Comment by cubefox 5 hours ago

That's downplaying the massive increase in LLM capabilities relative to the modest decrease in human capabilities.

Comment by ShinyLeftPad 3 hours ago

That's downplaying the importance of human capabilities.

Comment by 6 hours ago

Comment by mschuster91 2 hours ago

Oh dear god, at each further chain link I was laughing so hard that my poor cats got disturbed!

This entire chain is nothing but a lesson of shame for Microsoft - if you fork a thing, better be prepared to thoroughly understand and review each corner you touch. Or you might miss important cross-references that you should update but that aren't mentioned in comments by the original developers.

As for the "sign in automatically" BS that both Google and Edge push - that can go and die in a hellfire where it belongs.

Comment by sharpshadow 7 hours ago

The popup nightmare never stops.

Comment by Vaushite 4 hours ago

This is very awesome and cool.

Comment by breakingcups 8 hours ago

This is amazing work.

Comment by berofeev 8 hours ago

Excellent write up

Comment by 1vuio0pswjnm7 2 hours ago

A good summary of the so-called "modern" browser

But what hapens when there's no Javascript interpreter, i.e., not the so-called "modern" browser

And when the OS is not Windows

The so-called "modern" browser _is_ a "logic bug". It's multiple layers of stupidity if "security" is a goal

Comment by 1vuio0pswjnm7 26 minutes ago

Designed for data collection, surveillance and advertising

Comment by cyclopeanutopia 8 hours ago

Stopped at

> I won’t go into too much detail in this post, because I think in this era, you can just ask your agents to fill in the details :)

Comment by russelg 7 hours ago

If you can understand nuance and context, you would realise the phrase right before that is saying that he's not going to go into details about how navigation itself works in Chrome/Edge, and to watch the presentation from Google itself about those specific details if you are so inclined.

If you then continued on to read the remainder of the article, you would also discover that there was no AI assistance in this research at all.

Comment by cush 56 minutes ago

It’s actually super detailed. That sentence might as well not exist

Comment by est 8 hours ago

It's your loss. The whole article is very good written.

Comment by ncruces 7 hours ago

And much better for not going into needless detail.

In fact, a problem with LLMs is that they consistently write more than I want to read.

Comment by maeln 8 hours ago

The article does actually go pretty in detail about the exploit.

Comment by MonkeyClub 8 hours ago

Same; either put in the work to think it through and show us your thought process and conclusions, or just post your prompts and call it a day and everyone gets to move on.

Comment by russelg 7 hours ago

If you continued to read the article, you would discover that he indeed goes through his entire thought process in building this chain. Including the fact this was done with no AI assistance at all.

Comment by MonkeyClub 7 hours ago

I stand corrected then, I’ll return to it!

Comment by john_strinlai 2 hours ago

it's sort of funny, because before you even get to the line you stopped at, and then assumed that they used ai, you have to read this part:

"Anyway, this is what I built for Pwn2Own Berlin 2026 — a completely handmade, logic-only Microsoft Edge Full Chain, with no memory corruption, and no AI at all!"

Comment by tsujamin 8 hours ago

Imagine missing such a great bug-chain because an off-hand AI comment at the start put you off

Comment by cyclopeanutopia 7 hours ago

No need to imagine it.