GLSA-200908-09 : DokuWiki: Local file inclusion

This script is Copyright (C) 2009-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200908-09
(DokuWiki: Local file inclusion)

girex reported that data from the 'config_cascade' parameter in
inc/init.php is not properly sanitized before being used.

Impact :

A remote attacker could exploit this vulnerability to execute PHP code
from arbitrary local, or, when the used PHP version supports ftp://
URLs, also from remote files via FTP. Furthermore, it is possible to
disclose the contents of local files. NOTE: Successful exploitation
requires the PHP option 'register_globals' to be enabled.

Workaround :

Disable 'register_globals' in php.ini.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200908-09.xml

Solution :

All DokuWiki users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=www-apps/dokuwiki-2009-02-14b'

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 40634 (gentoo_GLSA-200908-09.nasl)

Bugtraq ID:

CVE ID: CVE-2009-1960