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.
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 email@example.com
Subject: Mambo SQL Injection and File Inclusion Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.