Advisories

Nmap < 7.992 Infinite Loop via Zero-Length GCC Block in rdp.lua

Go back
Severity
high
Date
Affecting
  • Nmap < 7.992

CWE
  • CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
CVSS
7.1
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Credit
Karan Bamal (SentinelOne)
Description
Nmap before 7.992 contains an infinite loop vulnerability in the ConfCreateResponse GCC block parser of the NSE rdp.lua library, which does not check that each block advances the read position. A malicious RDP server on a scanned host can include a single malformed zero-length block in an otherwise valid handshake, causing a permanent 100% CPU hang of the Nmap process that the script-timeout option does not interrupt; the library is used by rdp-enum-encryption.nse in the default script category (-sC, -A).

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.