4 ms·
> But it is a valid question to ask why it counts as an RCE. It's an RCE because the form of the attack is that Ghostscript ends up executing code that isn't p
by thaumasiotes 3y ago
> But it is a valid question to ask why it counts as an RCE.
It's an RCE because the form of the attack is that Ghostscript ends up executing code that isn't part of Ghostscript. Code is written outside the system ("remote code") and then executed inside it ("execution").
A malicious PDF that causes Ghostscript to execute arbitrary code would contrast with a malicious PDF that causes Ghostscript to execute inappropriate code that is nevertheless part of Ghostscript. The RCE allows the attacker to do anything the computer can do. The other one allows them to do something (but not necessarily anything) that Ghostscript can do.
- worthless-trash 3y agoMost attacker controlled execution code does not originate inside the binary, most buffer overflows inject shellcode. Using execution code from outside the binary does not make it an RCE.