Uninitialized variable error message leaks information
An uninitialized variable in index.php triggers a PHP error message that is included in the HTTP response after creating a project. Although the user is redirected and does not see it, the error message leaks information in the response body.
- Triaged in 6 hours
- Fixed in 22 hours
- Disclosed after 26 hours
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));
Attachments

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
The error message is present in the HTTP response, though the user is redirected and does not see it in the browser.
What the attacker needed
Ability to send a POST request to /pages/create_project
The fix
The code should check whether $alert is set before using it, for example by wrapping the call in an isset check.
How it was found
- Send a POST request to /pages/create_project.
- Inspect the HTTP response body before the redirect is followed.
- Observe the error message about the uninitialized variable.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When a program uses a variable that has not been given a value yet, it can produce an error message. Here, that error message is sent back in the HTTP response, even though the user is redirected and does not see it in the browser.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.