Sploitus

Exploit for Cross-Site Request Forgery (CSRF) in Webmin

githubexploit · 2021-04-21

Exploit Code

README39 lines
## https://sploitus.com/exploit?id=D56E51D5-72FA-5AF5-9AEB-74926A5467B9
# CSRF-to-RCE

# ..| CVE-2021-31762 |..

# Description :
Exploiting a Cross-site request forgery (CSRF) attack to create a privileged user through the Webmin's add users feature then getting a reverse shell through the Webmin's running process feature

Tested Version :
Webmin 1.973 ( GitHub's latest version 07/03/2021 )

Attack Type: 
Remote


Impact :
Remote Command Execution


eXploit's C0de POC :

    


YouTube POC :
  https://youtu.be/qCvEXwyaF5U  

Vendor of Product :
 https://www.webmin.com 
Additional Information :

 "Webmin is a web-based system administration tool for Unix-like servers, and services with over 1,000,000 installations worldwide. Using it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify, and control open-source apps, such as BIND DNS Server, Apache HTTP Server, PHP, MySQL, and many more"  According to Webmin's GitHub 



Discoverers :

Mesh3l_911 & Z0ldyck 
Twitter:  @mesh3l_911  ,@electronicbots