Total Tests:

Multiple Vulnerabilities in X2CRM

Advisory ID:HTB23172
Product:X2CRM
Vendor:X2Engine Inc.
Vulnerable Versions:3.4.1 and probably prior
Tested Version:3.4.1
Advisory Publication:September 4, 2013 [without technical details]
Vendor Notification:September 4, 2013
Vendor Fix:September 10, 2013
Public Disclosure:September 25, 2013
Latest Update:September 11, 2013
Vulnerability Type:PHP File Inclusion [CWE-98]
Cross-Site Scripting [CWE-79]
CVE References:CVE-2013-5692
CVE-2013-5693
Risk Level:High
CVSSv2 Base Scores:7.6 (AV:N/AC:H/Au:N/C:C/I:C/A:C)
2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered multiple vulnerabilities in X2CRM, which can be exploited to include arbitrary local files and execute arbitrary PHP code, as well as to perform Cross-Site Sripting (XSS) attacks against users of vulnerable application.

1) PHP File Inclusion in X2CRM: CVE-2013-5692
The vulnerability exists due to insufficient filtration of the "file" HTTP GET parameter passed to "/index.php/admin/translationManager" URL before using it in PHP "include()" function. A remote authenticated administrator can include and execute arbitrary local PHP files on the target system using directory traversal sequences.
The following exploitation example displays content of "/etc/passwd" file:
http://[host]/index.php/admin/translationManager?file=../../../../../etc/pas swd
Successful exploitation of this vulnerability requires administrative privileges, however it can be also exploited via CSRF vector to which the application is prone.
Simple CSRF exploit below includes and executes "/tmp/file.php" script:
<img src="http://[host]/index.php/admin/translationManager?file=../../../../../tm p/file.php">

2) Cross-Site Scripting (XSS) in X2CRM: CVE-2013-5693
The vulnerability exists due to insufficient sanitisation of user-supplied data in "model" HTTP GET parameter passed to "/index.php/admin/editor" URL. A remote attacker can trick a logged-in administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below uses JavaScript "alert()" function to display administrator's cookies:
http://[host]/index.php/admin/editor?model=%3C/script%3E%3Cscript%3Ealert%28 document.cookie%29;%3C/script%3E

How to Detect PHP File Inclusion Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Update to X2CRM 3.5

More Information:
http://x2community.com/index.php?/topic/1005-x2crm-35-released/


References:
[1] High-Tech Bridge Advisory HTB23172 - https://www.immuniweb.com/advisory/HTB23172 - Multiple vulnerabilities in X2CRM.
[2] X2CRM - http://www.x2engine.com - X2CRM is an open source based Sales, Marketing Automation and Service application designed exclusively for companies that require a tightly focused customer information system.
[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