module

Bassmaster Batch Arbitrary JavaScript Injection Remote Code Execution

Disclosed
11/01/2016
Created
05/30/2018

Description

This module exploits an un-authenticated code injection vulnerability in the bassmaster
nodejs plugin for hapi. The vulnerability is within the batch endpoint and allows an
attacker to dynamically execute JavaScript code on the server side using an eval.

Note that the code uses a '\x2f' character so that we hit the match on the regex.

Authors

mr_me Jarda Kotesovec

Platform

BSD,Linux

Architectures

x86, x64

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 exploit/multi/http/bassmaster_js_injection
    msf /(n) > show actions
        ...actions...
    msf /(n) > set ACTION < action-name >
    msf /(n) > show options
        ...show and set options...
    msf /(n) > 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.