-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
4.0.10, 4.1.5
-
MOODLE_400_STABLE, MOODLE_401_STABLE
When activating or deactivating a policy via the tool_policy handler, we are seeing OWASP Core Rule Set Protocol Attack rule 921180 triggered and the page is being blocked. This is because the sesskey parameter is being passed twice in the GET request to page /admin/tool/policy/editpolicydoc.php (essentially we are witnessing parameter pollution).
Steps to reproduce:
- Activate Policies (tool_policy)
- Add a new policy
- Enable policy
Note that you don't need a firewall to confirm the parameter is being passed twice.