8000 Try to fix 933210 bypass at PL1, lowering FPs by theMiddleBlue · Pull Request #2000 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Try to fix 933210 bypass at PL1, lowering FPs #2000

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 2 commits into from
Mar 15, 2021

Conversation

theMiddleBlue
Copy link
Contributor

This is the first attempt in order to fix 933210 bypass at PL1. In few words:

  • all PHP syntaxes matched by 933210 need a ; at the end of payload to be a valid PHP syntax. I've added it at the end of regex to be more strict on what it matches or not
  • added "at the first part of the regex to match a function call using string
  • added \ to match function call using string including escape sequences

I think this way we can reduce the number of FPs, what do you think about it?

image

@dune73
Copy link
Member
dune73 commented Feb 3, 2021

Congratulations on claiming PR id 2000.

@lifeforms lifeforms merged commit 1839680 into coreruleset:v3.4/dev Mar 15, 2021
@lifeforms
Copy link
Member

Looking good! I have fixed the comment to include ; character and tested locally with these payloads.

92DC
@theMiddleBlue
Copy link
Contributor Author

thanks @lifeforms

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.

3 participants
0