Secunia Logo
Netsikker nu! 2008
 
PmWiki Unregister "register_globals" Layer Bypass
Secunia Advisory: SA18634
Release Date: 2006-01-30
Last Update: 2006-02-03
Popularity: 6,022 views

Critical:
Highly critical
Impact: Security Bypass
Cross Site Scripting
Exposure of system information
Exposure of sensitive information
System access
Where: From remote
Solution Status: Vendor Patch

Software:PmWiki 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-0479


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

Changelog:
2006-02-03: Added CVE reference.

Original Advisory:
http://www.ush.it/2006/01/24/pmwiki-multiple-vulnerabilities/


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

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.

Most Popular - 3 Hours

1. phpBB Avatar Script Insertion Vulnerability // 65 views
2. phpBB Multiple Vulnerabilities // 50 views
3. Microsoft Windows Vista Page Fault Handling Denial of Service // 47 views
4. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 45 views
5. VMware VirtualCenter Multiple Vulnerabilities // 39 views
6. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 38 views
7. phpBB Avatar Functions Information Disclosure and Deletion // 35 views
8. Subdreamer Light Global Variables SQL Injection Vulnerability // 33 views
9. Nucleus EUC-JP Cross-Site Scripting Vulnerability // 33 views
10. JMweb MP3 Script "src" File Inclusion Vulnerabilities // 31 views