|
 |
|
Simple PHP Blog Multiple Vulnerabilities
|
|
|
|
|
Secunia Advisory:
|
SA27359
|
|
|
Release Date:
|
2007-10-24
|
|
|
Critical:
|

Moderately critical
|
|
Impact:
|
Security Bypass Cross Site Scripting Exposure of system information Exposure of sensitive information System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | Simple PHP Blog 0.x
|
|
|
This advisory is currently marked as unpatched! - Companies can be alerted when a patch is released! |
|
|
Description: DarkFig has reported some vulnerabilities in Simple PHP Blog, which can be exploited by malicious people to bypass certain security restrictions and conduct script insertion and cross-site request forgery attacks, and by malicious users to disclose sensitive information and compromise a vulnerable system.
1) Input passed in the "Client-IP" and "X-Forwarded-For" HTTP headers is trusted from all clients. This can be exploited to bypass IP address checks by connecting to Simple PHP Blog and sending arbitrary values in one of the headers.
2) Input passed in the "Client-IP" HTTP header to comment_add_cgi.php is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the malicious data is viewed. It can also be exploited for session fixation attacks.
3) Input passed to the "lang2" parameter in languages_cgi.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.
Successful exploitation of this vulnerability requires valid administrator credentials and that "magic_quotes_gpc" is disabled.
4) A vulnerability is caused due to the application allowing users to perform certain actions via HTTP requests without performing any validity checks to verify the request. This can be exploited to e.g. include local files (see #3), delete files, or execute arbitrary PHP code.
5) The emoticons.php script that handles emoticon uploads 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 is also a valid JPEG image.
Successful exploitation of this vulnerability requires valid administrator credentials.
The vulnerabilities are reported in version 0.5.1. Other versions may also be affected.
Solution: Restrict access to Simple PHP Blog (e.g. with ".htaccess").
Use another product.
Provided and/or discovered by: DarkFig
Original Advisory: http://acid-root.new.fr/?0:15
|
|
|
|
|
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.
|
|
|
|
7 Related Secunia Security Advisories
|
|
|
1. Simple PHP Blog Cross-Site Request Forgery
|
|
2. Simple PHP Blog Cross-Site Scripting and File Upload Vulnerabilities
|
|
3. Simple PHP Blog "blog_language" Local File Inclusion
|
|
4. Simple PHP Blog Cross-Site Scripting Vulnerabilities
|
|
5. Simple PHP Blog comment_delete_cgi.php Arbitrary File Deletion
|
|
6. Simple PHP Blog Image File Upload Vulnerability
|
|
7. Simple PHP Blog Exposure of User Credentials
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|

|
 |
Secunia PSI Scan | Patch | Track Free Download
|
|
|
Secunia Poll
|
|
|
|
|
 |
|
|
Most Popular Advisories
|
|
|
|
|
|