Cracking NASA’s Mail Edge: NTLM Relay, Leaks & a Misconfigured Exchange
An Exchange server responded to an incomplete NTLM authentication attempt with a challenge that disclosed internal Active Directory domain and host names. Because Extended Protection for Authentication was not enabled, the report claims the same endpoint could accept relayed NTLM authentication, potentially leading to mailbox access.
Exchange endpoints like /ews/ and /rpc/ are often sitting there exposed. Most of the time they behave.
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 endpoint was configured to allow NTLM authentication without Extended Protection for Authentication, so it returned a Type 2 challenge containing internal names and would accept relayed authentication.
Impact
Internal Active Directory naming and host information is disclosed without authentication, and the missing EPA could allow NTLM relay leading to mailbox access, though the report does not demonstrate the relay end to end.
What the attacker needed
Exchange EWS reachable from the internet; EPA not enabled on the endpoint
The fix
Enable Extended Protection for Authentication on Exchange virtual directories, apply the December 2025 Exchange updates, and restrict external access to EWS and RPC where possible.
How it was found
- Send an HTTP request to the Exchange EWS endpoint with an incomplete NTLM Authorization header.
- Observe the server's NTLM challenge in the WWW-Authenticate response header.
- Decode the challenge to read the internal domain, server and cluster node names.
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.
NTLM is an older Microsoft login protocol. When a client starts logging in, the server replies with a challenge that can include the server's internal name and domain. Here, sending only the first half of that login made the server reveal internal names to anyone on the internet, and the server was not configured to stop an attacker from forwarding someone else's login to it.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.