Improper Access Control on Media Wiki allows an attackers to restart installation on DoD asset
The MediaWiki configuration directory was reachable without authentication, exposing the installation restart page. An attacker could restart the application, potentially disrupting service.
Originally disclosed on HackerOne
- Triaged in 3 hours
- Fixed in 26 days
- Disclosed after 3 months
Hello,
I notice that is possible to restart installation on this media wiki website due to the fact that /mw-config/index.php is available without authentication
Poc: https://█████████/mw-config/index.php
Regards
Impact
Attackers can restart the application.
System Host(s)
███████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Go directly to https://██████████/mw-config/index.php and you should see the restart installation button.
Suggested Mitigation/Remediation Actions
Block all access to your mw-config folder.
We fixed this by adding:
RedirectMatch 404 /\mw-config
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
Root cause
The web server did not restrict access to the MediaWiki configuration directory, leaving the installer reachable to unauthenticated users.
Impact
An attacker could restart the application, which may disrupt the site.
What the attacker needed
None
The fix
Access to the configuration folder was blocked with a web server rule returning 404.
How it was found
- Navigate directly to the configuration directory's index page.
- Observe the restart installation button.
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.
MediaWiki is the software behind Wikipedia. After setup, it keeps a configuration folder that should be locked away. Here, anyone could open that folder's web page and see a button to restart the installation, which could break or reset the site.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.