diff --git a/tests/regression/phpmyadmin-plugin/9513800.yaml b/tests/regression/phpmyadmin-plugin/9513800.yaml new file mode 100644 index 0000000..0f45693 --- /dev/null +++ b/tests/regression/phpmyadmin-plugin/9513800.yaml @@ -0,0 +1,43 @@ +--- +meta: + author: "azurit" + description: "Test PhpMyAdmin Plugin" + enabled: true + name: 9513800.yaml +tests: + - test_title: 9513800-1 + desc: Check FPs when changing table structure + stages: + - stage: + input: + dest_addr: 127.0.0.1 + headers: + Host: localhost + User-Agent: "OWASP CRS test agent" + Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 + Cookie: phpMyAdmin=1 + port: 80 + method: POST + version: HTTP/1.1 + uri: /post/index.php?route=/table/structure/save + data: field_expression_orig[2]=concat(`first_name`,' ',`last_name`) + output: + no_log_contains: id "942100" + - test_title: 9513800-2 + desc: Check FPs when changing table structure 2 + stages: + - stage: + input: + dest_addr: 127.0.0.1 + headers: + Host: localhost + User-Agent: "OWASP CRS test agent" + Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 + Cookie: phpMyAdmin=1 + port: 80 + method: POST + version: HTTP/1.1 + uri: /post/index.php?route=/table/structure/save + data: field_expression[2]=concat(`first_name`,' ',`last_name`) + output: + no_log_contains: id "942100"