Rule 951260
See original GitHub issueDescription
Rule ID 951260 is doing lots of false positives, it is quite easy to trigger it. It has two conditions:
SecRule TX:sql_error_match "@eq 1" \
SecRule RESPONSE_BODY "@rx (?i)(?:Sybase message:|Warning.*sybase.*|Sybase.*Server message.*)" \
So, if response contains anything from file sql-errors.data
AND contains at least one phrase which match these regexpes:
Sybase message:
Warning.*sybase.*
Sybase.*Server message.*
If you look into sql-errors.data
, for example these phrases are found:
sybase
Warning
Sybase message
Sybase message:
Server message
So, in lots of cases, the rule acts as if it has only one of the conditions above. I believe one of these should be done:
- remove rule 951260
- remove phrases above from
sql-errors.data
(maybe some more)
Your Environment
- CRS version (e.g., v3.2.0): 3.3.0
- Paranoia level setting: PL1
- ModSecurity version (e.g., 2.9.3): 2.9.3
- Web Server and version (e.g., apache 2.4.41): 2.4
- Operating System and version: Debian Buster
Confirmation
[x] I have removed any personal data (email addresses, IP addresses, passwords, domain names) from any logs posted.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (14 by maintainers)
Top Results From Across the Web
OWASP Standard Rules – Kemp Support
Rule Set Name Rule Set Identifier Associated Rules
method‑enforcement 911 911100
scanner‑detection 913 913100, 913101, 913102, 913110, 913120
application‑attack‑lfi 930 930100, 930110, 930120, 930130
Read more >Brown v. Harms, No. 951260 - Virginia - Case Law - VLEX 894156697
The parties have agreed that a pension equalization shall proceed between the parties by way of the law of obligations (contracts ). A...
Read more >What the Law Allows by Mary C. Gentile, Ph.D., CasePlace .org
Gentile, Ph.D., Mary C. and .org, CasePlace, What the Law Allows (December 2006). Available at SSRN: https://ssrn.com/abstract=951260 or ...
Read more >951260-2520-AR-TP Datasheet & Application Note
Except where prohibited by law, 3M will not be liable for any indirect, special, incidental or consequential loss or damage arising from this...
Read more >95-1260 - Utah State Tax Commission
Additional tax of $$$$$, penalties of $$$$$ and interest of approximately $$$$$ were assessed against Petitioner relating to his income tax for the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be awesome if you could do it @azurit , as said I am still swamped and cannot be as active as I would like.
@azurit Thanks, forgot about this one. I will make time for it in the weekend.