GLSA-200908-09 : DokuWiki: Local file inclusion

high Nessus Plugin ID 40634

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200908-09

Plugin Details

Severity: High

ID: 40634

File Name: gentoo_GLSA-200908-09.nasl

Version: 1.13

Type: local

Published: 8/20/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:dokuwiki, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/18/2009

Exploitable With

CANVAS (CANVAS)

Reference Information

CVE: CVE-2009-1960

CWE: 94

GLSA: 200908-09