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

Add tests for Archive Directory Traversal #1138

Merged
merged 32 commits into from
Apr 29, 2024
Merged

Conversation

doverh
Copy link
Contributor

@doverh doverh commented Apr 17, 2024

This PR fixes #845

  • This PR handles the issue and requires no additional PRs.
  • You have validated the need for this change.

What did this PR accomplish?

  • Add tests for Archive Directory Traversal
  • Update references and add how to(example youtube)

Thank you for your contribution!

This comment was marked as resolved.

This comment was marked as resolved.

This comment was marked as resolved.

@kingthorin
Copy link
Collaborator

kingthorin commented Apr 17, 2024

Please address the bot's feedback. (Yes we know some of it might be pre-existing.)

This comment was marked as resolved.

This comment was marked as resolved.

@doverh
Copy link
Contributor Author

doverh commented Apr 17, 2024

@kingthorin checks passing now. Let me know if I need to revert any of those zip --> ZIP changes.

@kingthorin
Copy link
Collaborator

That stuff looks good to me. There are a few parts that read a bit awkwardly but I"ll do a review tomorrow and point them out or suggest alternative wording.

@doverh
Copy link
Contributor Author

doverh commented Apr 18, 2024

@kingthorin the text was indeed awkward. I sent a new version trying to bring it closer to the wstg style guide.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@doverh
Copy link
Contributor Author

doverh commented Apr 22, 2024

@kingthorin I sent a new update based on your previous comments.

@kingthorin
Copy link
Collaborator

Thanks, sorry I wasn't able to tackle it over the weekend. Will try to get it knocked off later today.

Copy link
Collaborator

@rbsec rbsec left a comment

Choose a reason for hiding this comment

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

I've added a few comments based on my thoughts - I think that it's a good thing test to add, but we don't really give enough details here to allow someone reading the guide to actual test for this.

This comment was marked as resolved.

This comment was marked as resolved.

This comment was marked as outdated.

This comment was marked as outdated.

…Testing/09-Test_Upload_of_Malicious_Files.md
Copy link
Collaborator

@ThunderSon ThunderSon left a comment

Choose a reason for hiding this comment

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

Slightly late review, let me know if any of my recommendations don't make sense. Hopefully we can merge this afterwards :)
Thank you for your contributions!

doverh and others added 6 commits April 25, 2024 07:57
…Testing/09-Test_Upload_of_Malicious_Files.md

Co-authored-by: ThunderSon <32433575+ThunderSon@users.noreply.github.com>
…Testing/09-Test_Upload_of_Malicious_Files.md

Co-authored-by: ThunderSon <32433575+ThunderSon@users.noreply.github.com>
…Testing/09-Test_Upload_of_Malicious_Files.md

Co-authored-by: ThunderSon <32433575+ThunderSon@users.noreply.github.com>
…Testing/09-Test_Upload_of_Malicious_Files.md

Co-authored-by: ThunderSon <32433575+ThunderSon@users.noreply.github.com>
…Testing/09-Test_Upload_of_Malicious_Files.md

Co-authored-by: ThunderSon <32433575+ThunderSon@users.noreply.github.com>
…Testing/09-Test_Upload_of_Malicious_Files.md

Co-authored-by: ThunderSon <32433575+ThunderSon@users.noreply.github.com>
Copy link
Collaborator

@kingthorin kingthorin left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@ThunderSon ThunderSon left a comment

Choose a reason for hiding this comment

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

Thank you for the work here, this looks good to go!

@ThunderSon ThunderSon merged commit 59a29e1 into OWASP:master Apr 29, 2024
3 checks passed
@doverh doverh deleted the new-845 branch May 2, 2024 19:17
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.

Testing for Directory Traversal File Vulnerabilities
4 participants