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

Mambo SQL Injection and File Inclusion Vulnerabilities

-

Release Date:  2006-02-22    Last Update:  2006-07-10    Views:  29,724

Secunia Advisory SA18935

Where:

From remote

Impact:

Manipulation of data, System access

Solution Status:

Vendor Patch

Software:

CVE Reference(s):

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.

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