|
Mambo SQL Injection and File Inclusion Vulnerabilities
|
|
|
|
|
Secunia Advisory:
|
SA18935
|
|
|
Release Date:
|
2006-02-22
|
|
Last Update:
|
2006-07-10
|
|
|
Critical:
|

Highly critical
|
|
Impact:
|
Manipulation of data System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Mambo 4.x
|
| | CVE reference: | CVE-2006-0871 (Secunia mirror) CVE-2006-1794 (Secunia mirror)
|
|
|
Want to know the next time vulnerabilities are fixed in this product? - Companies can be alerted via email and SMS! |
|
|
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.
http://source.mambo-foundation.org/Re.../Mambo_Core_Files/Current_Core_Files/
Provided and/or discovered by: James Bercegay, GulfTech Security Research Team.
Additional information provided by trueend5, Security Science Researchers Institute Of Iran.
Changelog: 2006-02-23: Updated "Solution" section.
2006-02-27: Added CVE reference. Updated "Description" and "Original Advisory" sections.
2006-04-19: Added CVE reference.
2006-06-01: Updated "Description" and "Solution" sections.
2006-07-10: Updated "Description" section.
Original Advisory: http://www.gulftech.org/?node=research&article_id=00104-02242006
|
|
|
|
|
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.
|
|
|
|
21 Related Secunia Security Advisories, displaying 10
|
|
|
1. Mambo Multiple Vulnerabilities
|
|
2. Mambo Search Denial of Service
|
|
3. Mambo Multiple Vulnerabilities
|
|
4. Mambo Two Cross-Site Scripting Vulnerabilities
|
|
5. Mambo Unspecified Bypass Vulnerabilities
|
|
6. Mambo Unspecified Content Edit Cancel SQL Injection
|
|
7. Mambo Multiple Vulnerabilities
|
|
8. Mambo "id" Parameter SQL Injection Vulnerability
|
|
9. Mambo "Submit WebLink" SQL Injection Vulnerabilities
|
|
10. Mambo "register_globals" Emulation Layer Overwrite Vulnerability
|
Show all related 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.
|
|
|
|