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 SA9796

Mambo SQL Injection Vulnerabilities
Secunia Advisory SA9796
Secunia VIM 4.0 - Free Trial
Release Date 2003-09-19
   
Popularity 13,327 views
Comments 0 comments

Criticality level Highly criticalHighly critical
Impact Manipulation of data
Exposure of system information
Exposure of sensitive information
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) No CVE references.

  

Description

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.

Example:
/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.

Example:
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.

Example:
mambo/contact.php?op=Sendmail&text=[message]&from=[I_don't_SPAM]&name=[Name]&email_to=[SPAM_me]&sitename=[SPAM_heaven.tld]

Issues 1 and 2 only affect Mambo on systems with MySQL 4.


Solution
Version 4.0.14 is not vulnerable to the SPAM issue.
Further details available to Secunia VIM customers

Provided and/or discovered by
lifofifo, hackingzone.org

Original Advisory
http://www.hackingzone.org/secviewarticle.php?id=11

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 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