Nakiami / mellivora

Mellivora is a CTF engine written in PHP
GNU General Public License v3.0
441 stars 171 forks source link

XSS / Duplicate $base_url in layout.inc.php #74

Closed blinils closed 7 years ago

blinils commented 7 years ago

Hello,

I found two issues in the pager( ) function of the layout.inc.php file. I wanted to fix them myself ("DIY!"), and make my first pull request on Github, but each time, I encountered problems when modifying and replacing the file.

mellivora_xss

mellivora_urlbase1

... which, when we keep clicking on the Next button, leads to a very very long URI.

mellivora_urlbase2

Nakiami commented 7 years ago

That's very serious, thank you. Fixed in https://github.com/Nakiami/mellivora/commit/ee60d7ed3220be8cfadea496feacc9db0daa6725