Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA26968

Simple PHP Blog Cross-Site Scripting and File Upload Vulnerabilities
Secunia Advisory SA26968
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2007-09-26
   
Popularity 6,555 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Cross Site Scripting
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
Simple PHP Blog 0.x

Secunia CVSS Score Available in Customer Area
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

Other references
Further details available in Customer Area

Deep Links
Links available in Customer Area


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 & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability