Skip to content

Conversation

@Xhoenix
Copy link
Member

@Xhoenix Xhoenix commented Jul 14, 2025

Detect Bash Brace expansion payloads like {id,} and {/?s?/?i?/c?t,}. Since there are no characters after the comma , a bypass was possible as we were detecting only "one or more"(+) characters. This PR fixes the issue.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 14, 2025

📊 Quantitative test results for language: eng, year: 2023, size: 10K, paranoia level: 1:
🚀 Quantitative testing did not detect new false positives

@Xhoenix Xhoenix requested a review from a team July 14, 2025 09:11
@Xhoenix Xhoenix changed the title fix: 932280 bypass fix: 932280/932281 bypass Jul 14, 2025
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.

I guess it would help reviewers if you add the what|why in the PR comments, otherwise we need to read and interpret what you tried to do, and why.

@Xhoenix
Copy link
Member Author

Xhoenix commented Jul 14, 2025

I guess it would help reviewers if you add the what|why in the PR comments, otherwise we need to read and interpret what you tried to do, and why.

@fzipi added description.

@Xhoenix Xhoenix added this pull request to the merge queue Jul 14, 2025
Merged via the queue into coreruleset:main with commit cfa1cef Jul 14, 2025
9 checks passed
@Xhoenix Xhoenix deleted the fix-932280-bypass branch July 14, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants