|
No, all PDF exploits I'm aware of are due to JS, not PostScript. I'm happy to be proven wrong, but my point is exactly that the computing power of the language has no relevance on the exploits, rather the quality of the sandboxing and the power of the standard library are what matter. For example, if you take away all loops and branches from JS, but still allow it to send network requests, you'll no longer have a Turing complete language (well, you'll have to also remove lambda functions and some other stuff; Turing completeness is complicated). But have you reduced its exploitability? Perhaps marginally, but no more than that. You're barking up the wrong tree. > And it shouldn't be. Problem fixed. Why should it not? What changes would you make to ensure it's not? And what problem would that fix? For the record, it's really quite difficult proving a system is not TC. See [1] for a list of examples. Note that I disagree with the "security implications", though it's worthwhile reading. To me, TC is more of a mathematical curiosity of a complex enough system; without other problems such as bad sandboxing or other exploitable features, it has no relevance for security. [1] https://gwern.net/turing-complete#surprisingly-turing-comple... |
Who said we should still allow it to send network requests? Just to the parent page would be enough.
And my suggestion was stronger: that we can also drop JS and other functionality from pages handling payment forms altogether.