-
Notifications
You must be signed in to change notification settings - Fork 728
913100: Request blocked by # in User-Agent #1215
Comments
Hi @realpg, thank you for your report! You have stumbled upon a false positive. You are correct that this request must not be blocked! Thank you for posting the audit log. You have hit rule 913100, because of a This should not happen. Rule 913100 uses the Could you also share the version of ModSecurity engine that you are using? (For instance ModSec 2.9.2 or ModSec 3.0.2) |
I've been unable to reproduce this yet. Without an exact ModSecurity version it might be hard to resolve the problem, do you have any info @realpg ? |
If the issue is confirmed, we might quickly workaround it by removing the lines containing just |
Confirmed for ModSec 3.0.2 on nginx. Thank you for reporting @realpg. And you are right @lifeforms, it's the Workarounds (all tested)
The latter results into a trailing space. That's not so nice. But then removing the almost empty lines would not be a big loss. |
This is a known issue with ModSecurity: owasp-modsecurity/ModSecurity#1645 |
Workaround solves this nicely. Thank you. |
sogou.com (A chinese search engine) image spider's normal request marked security scanner.
I wanna recieve alerts of being scanned, but not a normal spider request.
ModSecurity: Warning. Matched "Operator
PmFromFile' with parameterscanners-user-agents.data' against variable
REQUEST_HEADERS:User-Agent' (Value:Sogou Pic Spider/3.0(+http://www.sogou.com/docs/help/webmasters.htm#07)' ) [file "/etc/nginx/owasp-modsecurity-crs/rules/REQUEST-913-SCANNER-DETECTION.conf"] [line "17"] [id "913100"] [rev "2"] [msg "Found User-Agent associated with security scanner"] [data "Matched Data: # found within REQUEST_HEADERS:User-Agent: Sogou Pic Spider/3.0(+http://www.sogou.com/docs/help/webmasters.htm#07)"] [severity "2"] [ver "OWASP_CRS/3.0.0"] [maturity "9"] [accuracy "9"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-reputation-scanner"] [tag "OWASP_CRS/AUTOMATION/SECURITY_SCANNER"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "123.126.113.148"] [uri "/phpqq/ueditor/php/upload1/20180607/15283413535522.jpg"] [unique_id "154061169963.339034"] [ref "o67,1v202,71t:lowercase"] ModSecurity: Warning. Matched "Operator
Ge' with parameter5' against variable
TX:ANOMALY_SCORE' (Value:5' ) [file "/etc/nginx/owasp-modsecurity-crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "36"] [id "949110"] [rev ""] [msg "Inbound Anomaly Score Exceeded (Total Score: 5)"] [data ""] [severity "2"] [ver ""] [maturity "0"] [accuracy "0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-generic"] [hostname "123.126.113.148"] [uri "/phpqq/ueditor/php/upload1/20180607/15283413535522.jpg"] [unique_id "154061169963.339034"] [ref ""] ModSecurity: Warning. Matched "Operator
Ge' with parameter5' against variable
TX:INBOUND_ANOMALY_SCORE' (Value:5' ) [file "/etc/nginx/owasp-modsecurity-crs/rules/RESPONSE-980-CORRELATION.conf"] [line "61"] [id "980130"] [rev ""] [msg "Inbound Anomaly Score Exceeded (Total Inbound Score: 5 - SQLI=0,XSS=0,RFI=0,LFI=0,RCE=0,PHPI=0,HTTP=0,SESS=0): Found User-Agent associated with security scanner'"] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [tag "event-correlation"] [hostname "123.126.113.148"] [uri "/phpqq/ueditor/php/upload1/20180607/15283413535522.jpg"] [unique_id "154061169963.339034"] [ref ""]
The text was updated successfully, but these errors were encountered: