Rapid7 Vulnerability & Exploit Database

ws - Denial of Service

Back to Search

ws - Denial of Service



This module exploits a Denial of Service vulnerability in npm module "ws". By sending a specially crafted value of the Sec-WebSocket-Extensions header on the initial WebSocket upgrade request, the ws component will crash.


  • Ryan Knell, Sonatype Security Research
  • Nick Starke, Sonatype Security Research


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/dos/http/ws_dos
msf auxiliary(ws_dos) > show actions
msf auxiliary(ws_dos) > set ACTION < action-name >
msf auxiliary(ws_dos) > show options
    ...show and set options...
msf auxiliary(ws_dos) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security