Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Highly critical

IceBB Avatar SQL Injection and PHP Code Execution

-

Release Date:  2007-03-27    Last Update:  2007-04-02    Views:  9,105

Secunia Advisory SA24644

Where:

From remote

Impact:

Manipulation of data, System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

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

Original Advisory:
http://milw0rm.com/exploits/3580
http://milw0rm.com/exploits/3581

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: IceBB Avatar SQL Injection and PHP Code Execution

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-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability