Lucene search

K
gentooGentoo FoundationGLSA-200908-09
HistoryAug 18, 2009 - 12:00 a.m.

DokuWiki: Local file inclusion

2009-08-1800:00:00
Gentoo Foundation
security.gentoo.org
14

CVSS2

9.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

EPSS

0.23

Percentile

96.6%

Background

DokuWiki is a standards compliant Wiki system written in PHP.

Description

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.

Resolution

All DokuWiki users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=www-apps/dokuwiki-2009-02-14b"
OSVersionArchitecturePackageVersionFilename
Gentooanyallwww-apps/dokuwiki< 20090214bUNKNOWN

CVSS2

9.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

EPSS

0.23

Percentile

96.6%