OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA18634] PmWiki Unregister "register_globals" Layer Bypass

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Mon Jan 30 2006 - 07:32:06 CST


TITLE:
PmWiki Unregister "register_globals" Layer Bypass

SECUNIA ADVISORY ID:
SA18634

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

CRITICAL:
Highly critical

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

WHERE:
From remote

SOFTWARE:
PmWiki 2.x
http://secunia.com/product/6195/

DESCRIPTION:
Francesco "aScii" Ongaro has discovered a vulnerability in PmWiki,
which can be exploited by malicious people to bypass certain security
restrictions, conduct cross-site scripting attacks, disclose sensitive
information, and compromise a vulnerable system.

The vulnerability is caused due to an error in the unregister
"register_globals" layer in the handling of the "GLOBALS" array
parameter. This can e.g. be exploited to include arbitrary files from
external and local resources, and execute arbitrary HTML and script
code in a user's browser session in context of an affected site.

Example:
http://[victim]/pmwiki.php?GLOBALS&GLOBALS[FarmD]=[file]

Successful exploitation requires that "register_globals" is enabled.

It is also possible to disclose the full path to the installation.

The vulnerability has been confirmed in version 2.0.13 and has also
been reported in version 2.1 beta 20. Other versions may also be
affected.

SOLUTION:
The vulnerability has been fixed in version 2.1 beta 21.

Set "register_globals" to "Off".

PROVIDED AND/OR DISCOVERED BY:
Francesco "aScii" Ongaro

ORIGINAL ADVISORY:
http://www.ush.it/2006/01/24/pmwiki-multiple-vulnerabilities/

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

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

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