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

Have attacker rerun all requests, update xfail test #44

Merged
merged 8 commits into from
Apr 10, 2020

Conversation

tanx16
Copy link
Contributor

@tanx16 tanx16 commented Jan 4, 2020

This makes the attacker run all the requests with their own authorization. However, this has a flaw where the attacker may try to create duplicate objects, which would could cause an error to occur. I updated the existing xfail test to account for this.

@tanx16
Copy link
Contributor Author

tanx16 commented Jan 4, 2020

(This semi-addresses #11)

testing/vulnerable_app/views/sequence.py Outdated Show resolved Hide resolved
fuzz_lightyear/plugins/idor.py Outdated Show resolved Hide resolved
@tanx16
Copy link
Contributor Author

tanx16 commented Jan 7, 2020

I ended up reverting the test that I modified, as after testing for a while I realized that it was flaky and I couldn't figure out why.

@tanx16 tanx16 requested a review from domanchi January 7, 2020 22:56
fuzz_lightyear/plugins/idor.py Outdated Show resolved Hide resolved
testing/vulnerable_app/views/nonvulnerable.py Outdated Show resolved Hide resolved
testing/vulnerable_app/views/sequence.py Outdated Show resolved Hide resolved
testing/vulnerable_app/views/nonvulnerable.py Outdated Show resolved Hide resolved
testing/vulnerable_app/models/thing.py Outdated Show resolved Hide resolved
Copy link
Contributor

@domanchi domanchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix and ship!

testing/vulnerable_app/views/models/database.py Outdated Show resolved Hide resolved
@domanchi domanchi merged commit a4bedc7 into Yelp:master Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants