moodleou / moodle-mod_ouwiki

Alternative wiki module for Moodle 2 (designed for use in teaching and learning)
36 stars 32 forks source link

Security bug: reflected form action in view.php #85

Open mwithheld opened 5 years ago

mwithheld commented 5 years ago

Burp detected a potential reflected form action hijacking risk in the blog module. Arbitrary input in the URL was echoed in the action URL of the form for filtering blog posts by most comments (in the blog usage sidebar).

Request URL: GET /mod/oublog/view.php/t6vreissh2?id=659827 Resulting form markup in response: <form autocomplete="off" action="https://coursespaces2r.uvic.ca/mod/oublog/view.php/t6vreissh2"

To reproduce:

Tested on version 2018032001 3.4 r1

jason-platts commented 5 years ago

This is an issue on all Moodle forms (that submit to the same page by passing $action=null)...