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,039 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. My PHP Indexer "d" File Disclosure Vulnerability // 36 views
2. phpBB "url" bbcode Script Insertion Vulnerability // 36 views
3. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 32 views
4. Joomla Ignite Gallery Component "gallery" SQL Injection // 29 views
5. phpBB BBcode "url" Script Insertion Vulnerability // 29 views
6. WinFTP "PASV" Denial of Service Vulnerability // 29 views
7. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 29 views
8. Joomla OwnBiblio Component "catid" SQL Injection // 28 views
9. Real Estates Classifieds "cat" SQL Injection Vulnerability // 26 views
10. MunzurSoft Wep Portal W3 "kat" SQL Injection Vulnerability // 26 views