vendor:
Mambo
by:
N/A
7,5
CVSS
HIGH
Authentication Bypass
89
CWE
Product Name: Mambo
Affected Version From: <= 4.5.4
Affected Version To: <= 4.5.4
Patch Exists: YES
Related CWE: BID: 20366, OSVDB: 50002
CPE: a:miro_international:mambo
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2006
Mambo SQL Injection
Mambo is vulnerable to an Authentication Bypass issue that is due to an SQL Injection in the login function. The SQL Injection is possible because the $passwd variable is only sanitized when it is not passed as an argument to the function. As seen in the above code it is assumed that the $passwd variable is an md5 hash, but when sending a cookie with values like "usercookie[password]=%27 or 1=1/*; usercookie[username]=admin" an attacker can bypass authentication.
Mitigation:
Users are encouraged to patch the vulnerable functionality or update their Mambo installation as soon as possible.