mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
66 lines
2.0 KiB
JSON
66 lines
2.0 KiB
JSON
[
|
|
{
|
|
"enabled": 1,
|
|
"version_min": 209000,
|
|
"version_max": -1,
|
|
"title": "Failed to load locate the unicode map file from: ... 1/n",
|
|
"url": "https:\/\/github.com\/SpiderLabs\/ModSecurity\/issues\/1941",
|
|
"expected": {
|
|
"parser_error": "Failed to locate the unicode map file from: does-not-exist-unicode.mapping"
|
|
},
|
|
"rules": [
|
|
"SecRuleEngine On",
|
|
"SecUnicodeMapFile does-not-exist-unicode.mapping 20127"
|
|
]
|
|
},
|
|
{
|
|
"enabled": 1,
|
|
"version_min": 209000,
|
|
"version_max": -1,
|
|
"title": "Failed to load locate the unicode map file from: ... 2/n",
|
|
"url": "https:\/\/github.com\/SpiderLabs\/ModSecurity\/issues\/1941",
|
|
"expected": {
|
|
"parser_error": "Failed to locate the unicode map file from: um dois tres does-not-exist-unicode.mapping"
|
|
},
|
|
"rules": [
|
|
"SecRuleEngine On",
|
|
"SecUnicodeMapFile um dois tres does-not-exist-unicode.mapping 20127"
|
|
]
|
|
},
|
|
{
|
|
"enabled": 1,
|
|
"version_min": 209000,
|
|
"version_max": -1,
|
|
"title": "Failed to load locate the unicode map file from: ... 3/n",
|
|
"url": "https:\/\/github.com\/SpiderLabs\/ModSecurity\/issues\/1941",
|
|
"expected": {
|
|
"parser_error": "Invalid input: SecUnicodeMapFile does-not-exist-unicode.mapping eita"
|
|
},
|
|
"rules": [
|
|
"SecRuleEngine On",
|
|
"SecUnicodeMapFile does-not-exist-unicode.mapping eita"
|
|
]
|
|
},
|
|
{
|
|
"enabled":1,
|
|
"version_min":209000,
|
|
"version_max":-1,
|
|
"title":"Test SecUnicodeMapFile: ... 4/n",
|
|
"url":"https:\/\/github.com\/SpiderLabs\/ModSecurity\/issues\/1941",
|
|
"request":{
|
|
"uri":"/?param=дор",
|
|
"headers":"",
|
|
"body":"",
|
|
"method":"GET",
|
|
"http_version":1.1
|
|
},
|
|
"expected":{
|
|
"debug_log": "Target value: \"dop\""
|
|
},
|
|
"rules":[
|
|
"SecRuleEngine On",
|
|
"SecUnicodeMapFile test-cases/data/unicode.mapping-reduced 1251",
|
|
"SecRule ARGS \"@contains dop\" \"phase:1,id:999,deny,log,auditlog,t:none,t:utf8toUnicode,t:urlDecodeUni,multiMatch\""
|
|
]
|
|
}
|
|
] |