|
IceBB Avatar SQL Injection and PHP Code Execution
|
|
Secunia Advisory:
|
SA24644
|
|
|
Release Date:
|
2007-03-27
|
|
Last Update:
|
2007-04-02
|
|
Popularity:
|
5,462 views
|
|
|
Critical:
|
 Highly critical
|
|
Impact:
|
Manipulation of data System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | IceBB 1.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2007-1725 CVE-2007-1726
|
|
Description: Hessam-x has discovered some vulnerabilities in IceBB, which can be exploited by malicious users to conduct SQL injection attacks and compromise a vulnerable system.
1) The avatar upload function does not properly verify the file type of uploaded avatars. This can be exploited to execute arbitrary PHP code by uploading malicious PHP files.
2) The filename of uploaded avatars is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting SQL code.
Successful exploitation allows an attacker to gain administrator privileges, but requires that "magic_quotes_gpc" is disabled.
The vulnerabilities are confirmed in version 1.0-rc5. Other versions may also be affected.
Solution: Edit the source code to ensure that the name and the type of files are properly sanitised and verified.
Provided and/or discovered by: Hessam-x
Changelog: 2007-04-02: Added CVE reference.
Original Advisory: http://milw0rm.com/exploits/3580
http://milw0rm.com/exploits/3581
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
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.
|