Skip to content

Tim-Hoekstra/MailDev-2.1.0-Exploit-RCE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

MailDev 2.1.0 RCE Exploit

Tested against the latest version as of 06/02/2024

Exploit is designed to be universal works for versions >= 2.x.x

This exploits a vulnerability in MailDev application https://github.com/maildev/maildev and allows unauthenticated remote code execution.

Exploit is based off an issue found by @stypr
The root cause of this issue can be found at maildev/maildev#467

Setup vulnerable environment

docker run -p 1080:1080 -p 1025:1025 maildev/maildev
python3 exploit.py

Restart the Docker container to reflect the new routing config.

Find the shell at:

Example:

References:

For legal testing purposes only. Use at your own risk. I take no liability for damages.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages