3 ms·
https://github.com/shashanoid/Simpdf/blob/1557bf838a8debeee1a6f21c12ee3e91c420b855/backend/run.py#L31 https://github.com/shashanoid/Simpdf/blob/1557bf838a8debee
by hombre_fatal 6y ago
https://github.com/shashanoid/Simpdf/blob/1557bf838a8debeee1a6f21c12ee3e91c420b855/backend/run.py#L31 https://github.com/shashanoid/Simpdf/blob/1557bf838a8debeee1...
Btw, arbitrary code execution vuln here, OP.
- deleted 6y ago[deleted]
- parhamn 6y agoYeah. 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.
- miccah 6y agoI'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.