HexBrain

Localize · Report #7915

Uninitialized variable error message leaks information

Validstatus
4upvotes
18 Apr 2014disclosed

How it was found

An uninitialized variable $alert at line 630 in index.php shows an error message. This happens after a POST /pages/create_project. The error message does not appear in the browser because the user is redirected to the new project immediately, but it is there in the HTTP response (see error.png).

This is probably fixed with something like this at line 630. if(isset($alert)) echo UI::getPage(UI::PAGE_CREATE_PROJECT, array($alert));

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original