Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

ezContents Multiple Vulnerabilities

-

Release Date:  2008-08-26    Last Update:  2010-01-20    Views:  6,197

Secunia Advisory SA31606

Where:

From remote

Impact:

Security Bypass, Manipulation of data, Exposure of system information, Exposure of sensitive information

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


A security issue and some vulnerabilities have been discovered in ezContents, which can be exploited by malicious people to disclose sensitive information, conduct SQL injection attacks and bypass certain security restrictions.

1) Input passed to the "gsLanguage" and "language_home" parameters in diary/showdiary.php, "admin_home", "gsLanguage", and "language_home" in diary/showdiarydetail.php, "gsLanguage" and "language_home" in diary/submit_diary.php, "admin_home" in news/news_summary.php, and "nLink", "gsLanguage", and "language_home" in news/inlinenews.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 and URL-encoded NULL bytes. All scripts are located in the "modules/" directory.

Successful exploitation requires that "register_globals" is enabled - not the setting recommended in the installer - and that "magic_quotes_gpc" is disabled.

2) Input passed via the "login" parameter to admin/adminlogin.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 via various parameters to multiple scripts is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Examples:
http://[host]/bannerclick.php?id=[code]
http://[host]/comments.php?article=[code]
http://[host]/modules/diary/m_diaryform.php?DiaryID=[code]
http://[host]/modules/gallery/m_galleryform.php?galleryID=[code]
http://[host]/modules/links/m_linksform.php?LinkID=[code]
http://[host]/modules/guestbook/m_guestbookform.php?GuestbookID=[code]
http://[host]/modules/poll/m_pollform.php?PollID=[code]
http://[host]/modules/poll/m_polloptiondel.php?PollOptionID=[code]
http://[host]/modules/poll/m_polloptions.php?PollID=[code]
http://[host]/modules/poll/m_polloptionsform.php?PollOptionID=[code]
http://[host]/modules/reviews/m_reviewsform.php?reviewsID=[code]
http://[host]/rateit.php?article=[code]
http://[host]/selectsite.php?Site=[code]
http://[host]/selecttheme.php?Theme=[code]
http://[host]/showcontents.php?groupname=[code]
http://[host]/showcontents.php?subgroupname=[code]
http://[host]/showcontents.php?topgroupname=[code]

4) The security issue is caused due to the application allowing unrestricted access to the comments.php script. This can be exploited to insert arbitrary comments.

NOTE: Other scripts are reportedly also affected.

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


Solution:
Use another product.

Provided and/or discovered by:
1) Digital Security Research Group
2, 3, 4) AmnPardaz Security Research Team

Original Advisory:
1) http://milw0rm.com/exploits/6301
2, 3, 4) http://www.bugreport.ir/index_65.htm

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: ezContents Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability