-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathplugin.yaml
More file actions
51 lines (47 loc) · 1.75 KB
/
Copy pathplugin.yaml
File metadata and controls
51 lines (47 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
schema_version: 1
plugin:
name: phpmyadmin-rule-exclusions-plugin
description: Rule exclusions for phpMyAdmin so it runs without false positives under CRS.
long_description: |
Adds targeted SecRuleUpdateTargetById / ctl:ruleRemoveTargetById exclusions for the
phpMyAdmin web interface for MySQL/MariaDB administration. Covers both the legacy URL
routing scheme used before phpMyAdmin 5.1.0 and the route-based scheme introduced in
5.1.0, so the correct set of exclusions can be selected via a configuration variable.
Targets false positives triggered by SQL editor pages, table/row edit and delete
operations, imports/exports, triggers/events/views, and session/persistent cookies.
type: official
category: rule-exclusion
status: tested
license: Apache-2.0
authors:
- name: OWASP CRS Team
url: https://coreruleset.org
repository: https://github.com/coreruleset/phpmyadmin-rule-exclusions-plugin
keywords:
- phpmyadmin
- mysql
- mariadb
- database-administration
- false-positives
rule_id_range:
start: 9513000
end: 9513999
compatibility:
crs_version: ">=4.0.0"
configuration:
file: plugins/phpmyadmin-rule-exclusions-config.conf
variables:
- name: tx.phpmyadmin-rule-exclusions-plugin_enabled
type: boolean
default: 1
description: Enables the plugin. Set to 0 to disable all phpMyAdmin rule exclusions.
- name: tx.phpmyadmin-rule-exclusions-plugin_url_format
type: enum
allowed_values:
- v51
- old
default: v51
description: >-
Selects which set of exclusions to apply based on the phpMyAdmin URL routing
scheme. Use "v51" for phpMyAdmin 5.1.0 and later (route-based URLs), or "old"
for versions prior to 5.1.0.