Hello all,

I have the following error in my modsecurity log but i would like to add an
exception only for this URL.Is there a way to do it? i went to the 900
exclusion.conf but could not figure out how exactly to configure the
exception. I don't want to ignore the whole rule. Ignore rule for the
URL(/KOK/mvckpi/1705252209/MyView../images/MyView.ico)
below. Any help is appreciated.

--8f7d0000-H--
Message: Warning. Matched phrase "../" at REQUEST_URI. [file
"D:/Apache/conf/crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"] [line
"77"] [id "930110"] [rev "1"] [msg "Path Traversal Attack (/../)"] [data
"Matched Data: ../ found within REQUEST_URI:
/KOK/mvckpi/1705252209/MyView../images/MyView.ico"] [severity "CRITICAL"]
[ver "OWASP_CRS/3.0.0"] [maturity "9"] [accuracy "7"] [tag
"application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag
"attack-lfi"] [tag "OWASP_CRS/WEB_ATTACK/DIR_TRAVERSAL"]
Message: Warning. Matched phrase "../" at REQUEST_URI. [file
"D:/Apache/conf/crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"] [line
"77"] [id "930110"] [rev "1"] [msg "Path Traversal Attack (/../)"] [data
"Matched Data: ../ found within REQUEST_URI:
/KOK/mvckpi/1705252209/MyView../images/MyView.ico"] [severity "CRITICAL"]
[ver "OWASP_CRS/3.0.0"] [maturity "9"] [accuracy "7"] [tag
"application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag
"attack-lfi"] [tag "OWASP_CRS/WEB_ATTACK/DIR_TRAVERSAL"]
Message: Access denied with code 403 (phase 2). Operator GE matched 5 at
TX:anomaly_score. [file
"D:/Apache/conf/crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line
"57"] [id "949110"] [msg "Inbound Anomaly Score Exceeded (Total Score:
10)"] [severity "CRITICAL"] [tag "application-multi"] [tag
"language-multi"] [tag "platform-multi"] [tag "attack-generic"]
Message: Warning. Operator GE matched 5 at TX:inbound_anomaly_score. [file
"D:/Apache/conf/crs/rules/RESPONSE-980-CORRELATION.conf"] [line "73"] [id
"980130"] [msg "Inbound Anomaly Score Exceeded (Total Inbound Score: 10 -
SQLI=0,XSS=0,RFI=0,LFI=10,RCE=0,PHPI=0,HTTP=0,SESS=0): Path Traversal
Attack (/../)"] [tag "event-correlation"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client %s]
ModSecurity: %s%s [uri "%s"]%s
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client %s]
ModSecurity: %s%s [uri "%s"]%s
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client %s]
ModSecurity: %s%s [uri "%s"]%s
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client %s]
ModSecurity: %s%s [uri "%s"]%s
Action: Intercepted (phase 2)
Apache-Handler: proxy-server
Stopwatch: 1497013634631685 15625 (- - -)
Stopwatch2: 1497013634631685 15625; combined=15625, p1=0, p2=15625, p3=0,
p4=0, p5=0, sr=0, sw=0, l=0, gc=0
Response-Body-Transformed: Dechunked
Producer: ModSecurity for Apache/2.9.1 (http://www.modsecurity.org/);
OWASP_CRS/3.0.2.
Server: Apache/2.4.25 (Win64) OpenSSL/1.0.2k
Engine-Mode: "ENABLED"

-- 
Thanks,
RT
_______________________________________________
Owasp-modsecurity-core-rule-set mailing list
Owasp-modsecurity-core-rule-set@lists.owasp.org
https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set

Reply via email to