Exploit database

Vulnerability

CVE-2014-7205

Vulnerability details

Score
10.0
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:C/I:C/A:C

Description

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for the hapi server framework for Node.js allows remote attackers to execute arbitrary Javascript code via unspecified vectors.

CVE Program

Exploit source choices

2 sources
Bassmaster Batch Arbitrary JavaScript Injection Remote Code Execution
MSF-multi--http--bassmaster_js_injectionMetasploitBSD,Linux / remote

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.

2016-11-01bassmaster_js_injection.rb