This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Difference between revisions of "OWASP ModSec CRS Paranoia Mode Sibling 970003"
From OWASP
(→970003 : SQL Error Leakage) |
|||
Line 4: | Line 4: | ||
{|- class="wikitable" | {|- class="wikitable" | ||
− | | ''' | + | | '''RuleID 2.2.x''' |
+ | | '''RuleID 3.0.0-rc1 (original Rule)''' | ||
+ | | '''RuleID 3.0.0-rc1 (paranoid Rule)''' | ||
| '''Change''' | | '''Change''' | ||
| '''Whitelisting''' | | '''Whitelisting''' | ||
|- | |- | ||
| 970003 | | 970003 | ||
+ | | 951100 | ||
+ | | 951101-951104 | ||
| Triggers anomaly score directly now | | Triggers anomaly score directly now | ||
| none | | none | ||
Line 19: | Line 23: | ||
# The rule now triggers the anomaly scoring instantly | # The rule now triggers the anomaly scoring instantly | ||
# instead of just setting tx.sql_error_match. | # instead of just setting tx.sql_error_match. | ||
+ | # For 3.0.0-rc1 rule, see 951100. | ||
# | # | ||
SecRule RESPONSE_BODY "@pmFromFile sql-errors.data" \ | SecRule RESPONSE_BODY "@pmFromFile sql-errors.data" \ |
Latest revision as of 08:49, 10 March 2016
This page contains a proposal for a stricter rule-clone for ModSecurity CRS Paranoia Mode.
970003 : SQL Error Leakage
RuleID 2.2.x | RuleID 3.0.0-rc1 (original Rule) | RuleID 3.0.0-rc1 (paranoid Rule) | Change | Whitelisting |
970003 | 951100 | 951101-951104 | Triggers anomaly score directly now | none |
# # -=[ SQL Error Leakage ]=- # # This is a paranoid sibling to 2.2.9 Rule 970003. # The rule now triggers the anomaly scoring instantly # instead of just setting tx.sql_error_match. # For 3.0.0-rc1 rule, see 951100. # SecRule RESPONSE_BODY "@pmFromFile sql-errors.data" \ "phase:response,\ id:XXXXXX,\ rev:'5',\ ver:'OWASP_CRS/3.0.0',\ pass,\ nolog,\ tag:'application-multi',\ tag:'language-multi',\ tag:'platform-multi',\ tag:'attack-information disclosure',\ setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},\ t:none"