Nmap before 7.992 contains a server-side request forgery vulnerability in the http-cisco-anyconnect.nse script and the anyconnect.lua library, whose redirect handler follows a server-supplied redirect target without checking that it stays on the scanned host. A malicious web server on a scanned host can redirect Nmap to an arbitrary host and port, including internal and loopback addresses the attacker cannot reach directly, making Nmap send a HEAD request followed by a POST request there; response content is not returned to the attacker. The script runs in the default script category (-sC, -A).