Hacker News new | ask | show | jobs
by hombre_fatal 2212 days ago
https://github.com/shashanoid/Simpdf/blob/1557bf838a8debeee1...

Btw, arbitrary code execution vuln here, OP.

2 comments

Yeah. Switch array & args disable the shell. I hope they’re not running that locally as the download script suggests. But then you still have a bunch of other security issues. Shrug.
I'm investigating the same. The upload endpoint uses secure_filename to get the filename used in that func. I'm not familiar with it, but the docs say it could return an empty string.