Python3 code to exploit CVE-2019-15107 and CVE-2019-15231 , the version of Webmin affected are versions 1.890 through 1.920.
# Dependencies :
pip3 install termcolor argparse
# Git cloning
git clone https://github.com/NullBrunk/CVE-2019-15107/
cd CVE-2019-15107 && chmod +x exploit.py
# Launch
./exploit.py --help