Total Tests:

Multiple Vulnerabilities in Etomite

Advisory ID:HTB22710
Product:Etomite
Vendor:The Etomite Project
Vulnerable Versions:1.1 and probably prior
Tested Version:1.1
Advisory Publication:November 18, 2010 [without technical details]
Vendor Notification:November 18, 2010
Public Disclosure:December 2, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
SQL Injection [CWE-89]
Path Traversal [CWE-22]
Risk Level:High
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
5 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Etomite which could be exploited to perform cross-site scripting and SQL injection attacks and gain access to sensitive information.

1) Cross-site scripting (XSS) vulnerability in Etomite
The vulnerability exists due to input sanitation error in the "location" parameter in manager/index.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:
http://[host]/manager/index.php?location=%22%3E%3Cscript%3Ealert%28document. cookie%29%3C/script%3E

2) Directory traversal vulnerability in Etomite
The vulnerability exists due to improper sanitation of input data in the "id" parameter in manager/actions/static/document_data.static.action.php. A remote attacker can create a specially crafted request containing directory traversal sequences with NULL byte and read arbitrary files on the local system.
Exploitation example:
http://etomite/manager/actions/static/document_data.static.action.php?id=/.. /../../../includes/confi g.inc.php%00

3) SQL injection vulnerabilities in Etomite
3.1 The vulnerability exists due to input sanitation error in the "search" parameter in index.php. A remote attacker can send a specially crafted HTTP POST request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation example:
<form action="http://etomite/index.php?id=14" method="post" name="main" >
<input type="hidden" name="search" value="pentest')/**/union/**/select/**/1,2,3,@@version/**/#" />
<input type="submit" value="submit" name="submit" />
</form>

3.2 The vulnerability exists due to input sanitation error in the HTTP Referer header in index.php. A remote attacker can send a specially crafted HTTP POST request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation example:
GET /index.php HTTP/1.1
Referer: 12345'SQL_CODE_HERE

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

Solution:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


References:
[1] High-Tech Bridge Advisory HTB22710 - https://www.immuniweb.com/advisory/HTB22710 - Multiple Vulnerabilities in Etomite
[2] Etomite - etomite.org - Etomite is a Content Management System, which allows you to remotely administer your website from anywhere that you have an Internet Connection and a compatible Web-Browser.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

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