8000 Add path traversal detection in file upload by franbuehler · Pull Request #2451 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add path traversal detection in file upload #2451

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

Merged
merged 3 commits into from
Apr 1, 2022

Conversation

franbuehler
Copy link
Contributor

This PR is a proposal to solve issue #2446 by adding FILES to path traversal detection rules 930100 and 930110.
This PR also adds a test for rule 930110.

@franbuehler franbuehler added PR available this issue is referenced by an active pull request and removed PR available this issue is referenced by an active pull request labels Mar 25, 2022
@fzipi
Copy link
Member
fzipi commented Mar 26, 2022

@franbuehler What about windows ..\ paths?

@franbuehler
Copy link
Contributor Author

Thank you for your review.
They're covered by the same rules.
But you're right, I added a test for Windows backslashes.

Copy link
Member
@fzipi fzipi left a comment

Choose a reason for hiding this comment

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

LGTM

@fzipi fzipi merged commit e5e5e3f into coreruleset:v3.4/dev Apr 1, 2022
@franbuehler franbuehler deleted the file-upload-path-traversal branch February 1, 2024 08:48
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
0