3 ms·
You need to filter the URLs that are accepted to avoid security problems - had you a contact address on your profile here, or on the site I'd have disclosed thi
by stevekemp 7y ago
You need to filter the URLs that are accepted to avoid security problems - had you a contact address on your profile here, or on the site I'd have disclosed this more privately.
But consider this case:
https://webtest.app/?url=file:///etc/passwd https://webtest.app/?url=file:///etc/passwd
In short you should restrict URLs to protocols of `http`, `https`, and even then you should filter based on IP. You don't want people to view http://localhost/server-status http://localhost/server-status, etc.
Finally you need to make sure you avoid recursion:
https://webtest.app/?url=https://webtest.app/?url=https://steve.fi/ https://webtest.app/?url=https://webtest.app/?url=https://st...
- dvfjsdhgfv 7y ago> https://webtest.app/?url=file:///etc/passwd https://webtest.app/?url=file:///etc/passwd I find it funny that the app reports even this file loads faster with uBlock.
- aberforth123 7y agoThanks, good find, I fixed it.
- deleted 7y ago[deleted]