Internal IPs disclosure
Microsoft Exchange servers behind an F5 load balancer leaked internal IP addresses in the Basic authentication realm of 401 responses to Autodiscover requests. An attacker could repeatedly request the endpoint to enumerate internal IPs of backend servers.
Published on omespino.com
Note: this bug has been reported in about 10 companies and only Nokia accepted it as a valid report
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Exchange Autodiscover endpoint was configured to include the backend server's internal IP address in the Basic authentication realm, and the load balancer forwarded requests to different servers, exposing multiple internal IPs.
Impact
An attacker could disclose internal IP addresses of backend servers, which may aid further attacks, though the report does not demonstrate direct compromise.
What the attacker needed
Basic authentication enabled on Exchange; Network access to the target server
How it was found
- Send a GET request to the Autodiscover endpoint on the target server using openssl.
- Observe the 401 response containing a Basic authentication realm with an internal IP address.
- Repeat the request to the same server and note a different internal IP in the realm.
- Automate 255 GET requests and extract the realm values to list all internal IPs behind the load balancer.
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 write-up has not been written yet. The Original tab links to the source.
When a web server asks for a username and password, it can include a 'realm' name in its response. Here, that realm name was set to the server's internal IP address, which is normally hidden. By sending many requests, an attacker could collect these internal addresses.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.