Hacker News new | ask | show | jobs
by mik1998 12 days ago
It's a double free bug, not an RCE chain. Are these vulnerability reports intentionally overstated?
5 comments

Yes, the actual post just implies possibility

> Exploiting this bug to mount an Remote Code Execution attack (RCE) can't be ruled out.

AI is doing quite well at automating the escalation of small memory bugs (which can usually theoretically cause RCEs) into actual RCE exploits. This bug has a similar nature to php2shell.
I was too busy putting out the node2shell and others to look at the PHP vulnerability - was that one an easy “get shell” exploit or mostly theoretical one like the Node exploit where an attacker has to know the exact memory layout to else cause a crash…
Theoretical. It was a use after free. Stealing bitcoin from a live web server took AI two hours.
Today's LLMs can often escalate to RCE, so it makes sense to assume the worst.
It must mean something to "assume the worst". If you always assume the worst, you also never do it.

If an RCE exploit can't be ruled out, that's bad, but would be clearly worse in every way if an RCE exploit was public.

An LLM can aid in designing an actual exploit, but if it's not possible then it's simply not possible. Oftentimes we are lucky and exploits turn out to be impractical or require configurations never found in the wild.

it does not make sense to say RCE for something that does not have an open port on the system
If someone opens an encrypted email that came from an attacker using GnuPG and code is executed on his machine as a result, that is still remote code execution.
What is not "remote" code execution under this definition?
Have you ever heard of IP over Avian Carrier? It might help expand your definition of “remote”.

In all seriousness, “remote” in this case means attacker controlled.

Are you suggesting the existence of exploits outside of the definition of "attacker controlled"?

If not, and all exploits are attacker controlled, it sounds like all exploits are RCE.

EDIT I guess I have to weaken the last condition since we haven't proved all exploits are "code execution", but we have at least proved all exploits are "remote".

Stuxnet exploded the turbines over an air gap.

If RCE excludes Stuxnet, then maybe we should come up with a phrase that's less wrong.

You wouldn't label popping a shell in Chrome, via a malicious web page, as RCE?
I'd label it as Arbitrary Code Execution, since it requires the target to initiate the interaction. RCEs are ACE vulns where the target responds to an attacker-initiated interaction.
No it doesn't. The announcement email is reasonable in that it says a RCE "can't be ruled out", but whoever editorialized the submission title here to "RCE in Gnupg" was clearly going for clickbait.
It makes sense to assume the worst, then try to achieve it. And only if you achieve it so you tag it as such. You can't announce vulnerabilities to the world based on vibes of what it might do....

"Yeah this is a classic double free. We can't think of a way to transform it into a RCE or something like that, we've also failed at having LLMs do it so far. but in the current climate it could happen so we humbly ask the tag of most dangerous vulnerability please. Not just this disclaimer. We want 9.9 CVE that says RCE!!"

This is ridiculous.

Sending somebody a signed message and trigger a double free is a prime example for RCE
RCE might be possible, you still need to overlay something useful in the freed memory and bypass ASLR.
The mail says "Exploiting this bug to mount an Remote Code Execution attack (RCE) can't be ruled out.". They didn't write this just for fun. gnupg usually downplays security issues.
I'd say that is as accurate as they can be. Since it's a library and it's a heap bug they have no idea how a particular application will be affected.

It's still a critical bug, just would not call it a prime example of rce.

I mean, the blame is moreso on the title of this HackerNews submission. "RCE can't be ruled out" is not equivalent to "RCE in Gnupg"
it can't be ruled out that an RCE exists in other parts of this software either
Or any software...
"overlay something useful in the freed memory and bypass ASLR"

I thought we reached the point a few years ago where the assumed probability this can be done is 100% ?

The attacker would of had to have successfully managed to get the victim to import a malicious key with a super long userID before that. The signed message would just be the trigger.

The trigger, whatever it was, would have to not just cause the super long userID to be displayed, but would somehow have to affect the target's display code in a meaningful way to do some sort of exploit.

poc needed.
IMHO, these days any kind of UB has to be considered exploitable by an LLM. The times of debating whether something is exploitable or not are over.
No, they are not. RCE has a very specific meaning, and watering it down by applying the label to something without an exploit is lying.
We are having this debate right now. So it's far from over. Without PoC it's unclear if it's RCE or just overhyped bullshit. See PHP or Nginx "RCE" which required specific crafted settings for it to even work. A video is not a "PoC".

If you believe an LLM can generate an exploit for this - feel free to post one.

I agree PoC's should be a requirement for all this exploits.
at the very least should be criteria for assigning "high", CVE spam is annoying enough as it is
Na, for years I've been seeing crap like this "well there is no exploit" and then a year later one is found.

Quit writing memory free errors in software. Prove your software is safe, not prove that it's not exploitable.

A year later you hopefully have updated the software, no loss there.
It's interesting to see how polarizing this comment is, it's being upvoted and downvoted in waves.
has to be considered exploitable by an LLM

Then someone should do the needful and ask one to generate an exploit.

Otherwise it's just a bunch of hot air to stir up paranoia.

"Put your money where your mouth is", as the saying goes.

It's long-standing practice to assume a worst case of RCE for certain memory corruption classes.