Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mwithheld opened this issue Jul 22, 2019 · 1 comment
Open

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

mwithheld opened this issue Jul 22, 2019 · 1 comment

Comments

@mwithheld
Copy link

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:

To reproduce:

<div class="oublog_statsview_content oublog_statsview_content_commentpoststats oublog-accordion-open"
...
<form autocomplete="off" action="https://my.moodle.com/mod/oublog/view.php/t6vreissh2" method="post" accept-charset="utf-8" id="mform1" class="mform">

Tested on version 2018032001 3.4 r1

@jason-platts
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants