----------------------------------------------------------------------

Try a new way to discover vulnerabilities that ALREADY EXIST in your
IT infrastructure.

The Secunia NSI enables you to INSPECT, DISCOVER, and DOCUMENT
vulnerabilities in more than 4,700 different Windows applications.

Request your account, the Secunia Network Software Inspector (NSI):
http://secunia.com/network_software_inspector/

----------------------------------------------------------------------

TITLE:
Simple PHP Blog Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA27359

VERIFY ADVISORY:
http://secunia.com/advisories/27359/

CRITICAL:
Moderately critical

IMPACT:
Security Bypass, Cross Site Scripting, Exposure of system
information, Exposure of sensitive information, System access

WHERE:
>From remote

SOFTWARE:
Simple PHP Blog 0.x
http://secunia.com/product/5342/

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

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

----------------------------------------------------------------------