Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA18935

Mambo SQL Injection and File Inclusion Vulnerabilities
Secunia Advisory SA18935
Secunia VIM 4.0 - Free Trial
Release Date 2006-02-22
Last Update 2006-07-10
   
Popularity 29,142 views
Comments 0 comments

Criticality level Highly criticalHighly critical
Impact Manipulation of data
System access
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Vendor Patch
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
   
Software:
Mambo 4.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2006-0871 CVSS score available to Secunia VIM customers
CVE-2006-1794 CVSS score available to Secunia VIM customers
  

Description

James Bercegay has reported some vulnerabilities in Mambo, which can be exploited by malicious people to conduct SQL injection attacks and potentially compromise a vulnerable system.

1) Input passed to the "username" parameter in /includes/mambo.php isn't properly sanitised before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation allows bypassing of authentication but that "magic_quotes_gpc" is disabled. This may be further exploited to login as the admin user to install and execute arbitrary modules.

2) Input passed to the "task" parameter in index2.php and to the "filter" parameter in the "com_content" component isn't properly sanitised before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Some other parameters may reportedly also be affected.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

3) Input passed to the "imos_change_template" parameter in the _setTemplate() function isn't properly verified, before it is used to include files. This can be exploited to include "index.php" files from arbitrary local directories via directory traversal attacks.

It is also possible to create files in the "cache" directory via the "feed" parameter passed in the RSS component.

The vulnerabilities have been reported in versions 4.5.3 and 4.5.3h. Prior versions may also be affected.


Solution
Update to version 4.5.4.
Further details available to Secunia VIM customers

Provided and/or discovered by
James Bercegay, GulfTech Security Research Team.

Additional information provided by trueend5, Security Science Researchers Institute Of Iran.

Changelog
Further details available to Secunia VIM customers

Original Advisory
http://www.gulftech.org/?node=research&article_id=00104-02242006

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: Mambo SQL Injection and File Inclusion 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-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability