module

ua-parser-js npm module ReDoS

Disclosed
N/A
Created
2018-06-14

Description

This module exploits a Regular Expression Denial of Service vulnerability
in the npm module "ua-parser-js". Server-side applications that use
"ua-parser-js" for parsing the browser user-agent string will be vulnerable
if they call the "getOS" or "getResult" functions. This vulnerability was
fixed as of version 0.7.16.

Authors

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/ua_parser_js_redos
msf auxiliary(ua_parser_js_redos) > show actions
...actions...
msf auxiliary(ua_parser_js_redos) > set ACTION < action-name >
msf auxiliary(ua_parser_js_redos) > show options
...show and set options...
msf auxiliary(ua_parser_js_redos) > run

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.