Secunia Logo
 
e-Vision CMS Multiple Vulnerabilities
Secunia Advisory: SA25605
Release Date: 2007-06-11
Last Update: 2008-11-07
Popularity: 3,829 views

Critical:
Highly critical
Impact: Manipulation of data
Exposure of system information
Exposure of sensitive information
System access
Where: From remote
Solution Status: Unpatched

Software:e-Vision CMS 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-3214
CVE-2007-3251
CVE-2008-0856


Description:
Some vulnerabilities have been discovered in e-Vision CMS, which can be exploited by malicious people to disclose sensitive information, conduct SQL injection attacks, or to compromise a vulnerable system.

1) Input passed to the "img" parameter in admin/show_img.php is not properly sanitised before being used to display files. This can be exploited to display arbitrary files via directory traversal attacks.

2) Input passed in the "adminlang" cookie to admin/functions.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.

Successful exploitation of this vulnerability with arbitrary file extensions requires that "magic_quotes_gpc" is disabled.

3) Input passed to the "template" parameter in style.php, to the "id" parameter in print.php, and to the "id" and "field" parameters in iframe.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability allows e.g. retrieving administrator usernames and password hashes, but requires that "magic_quotes_gpc" is disabled.

4) Access to the file "x_image.php" is not properly restricted, which can be exploited to upload and execute arbitrary PHP code via a specially crafted POST request.

5) Input passed to the "module" parameter in modules/3rdparty/adminpart/add3rdparty.php, modules/polling/adminpart/addpolling.php, modules/contact/adminpart/addcontact.php, modules/brandnews/adminpart/addbrandnews.php, modules/newsletter/adminpart/addnewsletter.php, modules/game/adminpart/addgame.php, modules/tour/adminpart/addtour.php, modules/articles/adminpart/addarticles.php, modules/product/adminpart/addproduct.php, and modules/plain/adminpart/addplain.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks.

Successful exploitation of this vulnerability requires that "magic_quotes_gpc" is disabled.

The vulnerabilities are confirmed in version 2.0.2. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised and verified.
Restrict access to "x_image.php" (e.g. via an .htaccess file).

Provided and/or discovered by:
1, 2) Silentz
3) Silentz and Cod3rZ
4) Sina Yazdanmehr a.k.a. IRCRASH (R3d.W0rm)
5) athos

Changelog:
2007-06-15: Added CVE reference.
2007-06-22: Added CVE reference.
2008-02-18: Updated vulnerability #3. Added affected parameters in print.php and iframe.php provided by Cod3rz.
2008-02-26: Added CVE reference.
2008-08-12: Added vulnerability #4. Raised "criticality" and updated "Solution" section.
2008-11-07: Added vulnerability #5. Updated "Description", "Provided by" and "Original Advisory" sections.

Original Advisory:
1, 2, 3) http://milw0rm.com/exploits/4054
5) http://milw0rm.com/exploits/7031


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Active eWebquiz "useremail" and "password" SQL Injection Vulnerabilities // 105 views
2. Microsoft Office Communications Server SIP INVITE Denial of Service // 104 views
3. Minimal Ablog Multiple Vulnerabilities // 94 views
4. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 81 views
5. Active Newsletter "email" and "password" SQL Injection Vulnerabilities // 77 views
6. Ocean12 FAQ Manager Pro "ID" SQL Injection Vulnerability // 74 views
7. Bluo CMS "id" SQL Injection Vulnerability // 69 views
8. Active Photo Gallery "username" and "password" SQL Injection // 69 views
9. Slackware update for ruby // 64 views
10. Zeroboard Multiple Vulnerabilities // 63 views