8000 fix: remove sql function names to resolve false positives (942151 PL1) by franbuehler · Pull Request #3973 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: remove sql function names to resolve false positives (942151 PL1) #3973

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 10 commits into from
Jan 10, 2025

Conversation

franbuehler
Copy link
Contributor
@franbuehler franbuehler commented Jan 1, 2025

This PR removes the following function names to resolve false positives at PL1 rule 942151:

  • Matched Data: elt ( found
  • Matched Data: Left ( found
  • Matched Data: quarter ( found
  • Matched Data: space ( found
  • Matched Data: likelihood ( found
  • Matched Data: lower ( found
  • Matched Data: convert ( found
  • Matched Data: position ( found
  • Matched Data: degrees ( found
  • Matched Data: unlikely ( found
  • Matched Data: Left, ( found

Fixes #3929

Test 5 will fail, because I removed likelihood from the sql function names. Should I just remove this test?

Copy link
Contributor
github-actions bot commented Jan 1, 2025

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

@fzipi 8000
Copy link
Member
fzipi commented Jan 2, 2025

Test 5 will fail, because I removed likelihood from the sql function names. Should I just remove this test?

Yes, or change it for a different, supported word?

franbuehler and others added 4 commits January 10, 2025 13:06
add suggestions from review

Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
@franbuehler franbuehler requested a review from theseion January 10, 2025 12:22
@franbuehler franbuehler added this pull request to the merge queue Jan 10, 2025
Merged via the queue into coreruleset:main with commit b70bf85 Jan 10, 2025
6 checks passed
@franbuehler franbuehler deleted the fix-942151 branch January 10, 2025 18:58
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.

False positives with 942151 PL1 SQL Injection Attack: SQL function name detected
3 participants
0