2 ms·
It's an easy slippery slope. We need flexibility because we can't predict all future needs, hence an interpreter. An interpreter can at worst produce a denial
by nine_k 4y ago
It's an easy slippery slope.
We need flexibility because we can't predict all future needs, hence an interpreter.
An interpreter can at worst produce a denial of service. But we also want it to access our data to be useful. Giving access to exact data items it may require is hard or impossible (see flexibility), so we give it a lump of access. Hello exfiltration.
But crafting and supporting a limited interpreter is a chore. Why can't we use the perfectly good interpreter which runs our software? It's almost an RCE!
For the win, we should note that input sanitation is hard and costs us CPU, and skip it. Now finally we made enough to have our system pwned.