Hacker News new | ask | show | jobs
by slim 7 days ago
it does not make sense to say RCE for something that does not have an open port on the system
2 comments

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".

The implication you're missing is remote execution of [ arbitrary and attacker provided ] code. An example of an exploit that doesn't qualify as RCE is a web server providing read only access to files it should not.

For example, if an attacker can remotely trigger only a specific preexisting program (perhaps sudo rm -rf /) and if the attacker is unable to directly escalate from that to full blown arbitrary code execution then that vulnerability would also not qualify as RCE.

In the gnupg case, if an email can contain arbitrary code that gets executed on the target system then you have RCE.

And if I leave a USB with a malicious executable in a parking lot, and someone runs it, it sounds like I'll have a remote code execution vulnerability too. Sounds like a very low bar, I guess RCE must be a basic, "everything gets this marker" thing.
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.