NodeBB
Exploiting NodeBB Forum Web Application
Admin Account Takeover
Create a new NodeBB user

Go to Edit Profile. Then navigate to the Change Password page

Intercept with proxy tool ie. Burp Suite (community edition will work). Do not start intercepting until you are ready to click Change Password, or else there will be timeout issues

Start intercepting using the proxy tool, Change the UID to '1' (admin), press forward, then turn intercept off. You will need to be fast to avoid timeout, so don't fuck around.

Use the new password to log into the NodeBB admin account and enjoy 😄


Aribitrary File Upload
Upload file with NodeBB admin account

Copy exploit to a local folder and open in your favorite text editor
Change the following parameters in the python file to match your target/host machines and NodeBB admin credentials

If you do not have a public SSH key on your host machine, you can generate one using ssh-keygen


Run the exploit

SSH into the target machine and have a beer 🍺

Last updated