scrapy / scrapyd

A service daemon to run Scrapy spiders
https://scrapyd.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
2.93k stars 571 forks source link

Review old security audit #518

Closed jpmckinney closed 2 months ago

jpmckinney commented 2 months ago

http://www.spect.cl/blog/2015/11/security-audit-scrapyd/ Parenthesized numbers are from blog post.

Note that almost all of these are moot, because anyone with access to the Scrapyd API can use addversion.json and schedule.json to run arbitrary Python code, with the same privileges as the Scrapyd process. Nonetheless:

(4) ("Executing python code when counting spiders") is not a vulnerability, because anyone with access to addversion.json also has access to schedule.json, and can therefore run the same, arbitrary Python code.

Among the other suggestions: