Internal IP Address Disclosed
A publicly served JavaScript file contained a hard-coded internal IP address and port in a logout URL. An attacker could use this internal addressing information to map the network and support other attacks, though the reporter states there is no direct impact.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 32 days
- Disclosed after 7 months
Target Url https://███████/███████/static/pubsite/js/main-header-dropdown.js?ver=0.87
Summary Hello, I found an internal IP address disclosure in the page.
Description:
Extracted ip address: ████████
extracted port: ██████
place where I found it: var logoutUrl = 'https://██████:███/█████/logout'
Step-by-step Reproduction Instructions
- Navigate to the target url and search for the ip and you will find it.
█████████
Suggested Mitigation/Remediation Actions
Avoid disclosing private ip addresses in public codes.
Impact
Honestly there is no direct impact; however, I found that I should tell you about it in ██████e you don't know about this issue because this information can help an attacker identify other vulnerabilities or help during the exploitation of other identified vulnerabilities.
Best Regards
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 developer hard-coded an internal host and port into client-side JavaScript instead of using a public or relative URL.
Impact
The reporter states there is no direct impact, but the leaked internal address could help an attacker identify or exploit other vulnerabilities.
What the attacker needed
None
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 website's JavaScript file included a private network address that is normally only reachable from inside the company. Anyone can read this file, so outsiders learn about internal systems. On its own this does not let someone break in, but it helps them plan further attacks.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.