Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The application lacks protection against CSRF #7

Closed
atx opened this issue Apr 4, 2018 · 3 comments
Closed

The application lacks protection against CSRF #7

atx opened this issue Apr 4, 2018 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@atx
Copy link

atx commented Apr 4, 2018

The application lacks any sort of protection against CSRF (let alone DNS rebinding).

As some, uhhh, creative development time saving techniques are used, an attacker can execute arbitrary shell commands on the computer running this software by redirecting the users browser to something like:

<a href="http://127.0.0.1:5000/stack/?filename=%3Bxcalc%3Bfoo.gz">Link</a>
@spiermar spiermar added the bug Something isn't working label Apr 4, 2018
@brendangregg brendangregg self-assigned this Apr 4, 2018
@brendangregg brendangregg removed their assignment Apr 5, 2018
@brendangregg
Copy link
Contributor

Thanks @atx! I've fixed the filename escapes. We still need to look at the CSRF and DNS rebinding.

@spiermar spiermar added this to the 0.2 milestone Apr 6, 2018
@spiermar
Copy link
Contributor

spiermar commented Apr 6, 2018

@brendangregg recent PR merge might have fixed a few of those issues.

@spiermar
Copy link
Contributor

Assuming this was fixed. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants