Information Disclosure(PHPINFO/Credentials) on DoD Asset
A publicly accessible phpinfo() page on a DoD asset exposed system information and Active Directory credentials. An attacker could use the leaked credentials to compromise the system.
- Triaged in under an hour
- Fixed in 9 months
- Disclosed after 9 months
Summary by the researcher
A Department of Defense(DoD) asset leaked the systems' PHPInfo page which contained sensitive information such as Active Directory credentials. This may have led to System Compromise. The DoD Representatives were responsive and thorough when handling my report.
The report
Summary: A DoD leaks credentials on a phpinfo() page.
Description: https://███ publicly displays a phpinfo() page that leaks system information and credentials.
Impact
The impact is medium not only due to information leakage of numerous different details such as system information but also the leakage of domain credentials. USERDOMAIN ███████ USERNAME ██████ █████████PASSWORD'] ████████
Step-by-step Reproduction Instructions
- Visit: https://████/████
- Information Disclosed
Suggested Mitigation/Remediation Actions
████████ BAT suggests removing the ███ page or requiring authentication before making it accessible.
Impact
The impact is medium not only due to information leakage of numerous different details such as system information but also the leakage of domain credentials.
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
Likely a phpinfo() diagnostic page was left publicly accessible without authentication, and its output included environment variables holding domain credentials.
Impact
The leaked domain credentials could allow an attacker to compromise the system, though the report rates the impact as medium.
What the attacker needed
None
The fix
The phpinfo() page should be removed or protected by authentication.
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.
A phpinfo() page is a diagnostic page that shows details about the server's setup. Here it was left open to anyone on the internet and also revealed a username and password for the organisation's internal network, which could let an outsider log in.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.