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

Simple PHP Blog Cross-Site Scripting and File Upload Vulnerabilities

-

Release Date:  2007-09-26    Views:  7,088

Secunia Advisory SA26968

Where:

From remote

Impact:

Cross Site Scripting, System access

Solution Status:

Vendor Patch

CVE Reference(s):

No CVE references.

Description


Luca "ikki" Carettoni and Luca "Daath" De Fulgentis have reported some vulnerabilities in Simple PHP Blog, which can be exploited by malicious people to conduct cross-site scripting attacks and by malicious users to compromise a vulnerable system.

1) Input passed to the "user_colors[bg_color]" parameter in the file \themes\<theme name>\user_style.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Successful exploitation requires that "register_globals" is enabled.

2) The upload_img_cgi.php script does not correctly restrict certain types of uploaded files. This can be exploited to e.g. execute arbitrary PHP code by uploading a specially crafted PHP script that contains the GIF magic number.

This is related to:
SA16598

The vulnerabilities are reported in versions prior to 0.5.1.


Solution:
Update to version 0.5.1.

Provided and/or discovered by:
Luca "ikki" Carettoni and Luca "Daath" De Fulgentis, SecureNetwork.IT

Original Advisory:
Simple PHP Blog:
http://www.simplephpblog.com/index.php?entry=entry070923-004446

SecureNetwork.IT:
http://www.securenetwork.it/ricerca/advisory/download/SN-2007-03.txt

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: Simple PHP Blog Cross-Site Scripting and File Upload 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-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability