by stevekemp · 8y ago · 0 comments
You need to be sure you're limiting the kind of URLs that people can submit. For example ensure that nobody makes a PDF of :
* file:////etc/passwd
* http://169.254.169.254/latest/meta-data/local-hostname
I'd say over half of the "PDF-creation" projects posted here have been vulnerable to some/all of those attacks. (I continue to be surprised at how many web-to-pdf services exist. I guess there must be a lot of people paying for them?)