Bug 835145 (CVE-2012-3354)

Summary: CVE-2012-3354 dokuwiki: Full path disclosure with PHP error level enabled
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andrew, jpopelka
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20120624,reported=20120624,source=oss-security,cvss2=4.3/AV:N/AC:M/Au:N/C:P/I:N/A:N,fedora-all/dokuwiki=affected,epel-all/dokuwiki=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-12 10:25:06 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 835149, 835150    
Bug Blocks:    

Description Jan Lieskovsky 2012-06-25 12:48:09 EDT
A full path disclosure flaw was found in the way DokuWiki, a standards compliant, simple to use Wiki, performed sanitization of HTTP POST 'prefix' input value prior passing it to underlying PHP substr() routine, when the PHP error level has been enabled on the particular server. A remote attacker could use this flaw to obtain full path location of particular requested DokuWiki page by issuing a specially-crafted HTTP POST request.

References:
[1] http://www.openwall.com/lists/oss-security/2012/06/24/2
[2] http://www.openwall.com/lists/oss-security/2012/06/25/2
Comment 1 Jan Lieskovsky 2012-06-25 12:53:30 EDT
This issue affects the versions of the dokuwiki package, as shipped with Fedora release of 16 and 17. Please schedule an update (once final upstream patch available).

--

This issue affects the versions of the dokuwiki package, as shipped with Fedora EPEL 5 and 6. Please schedule an update (once final upstream patch available).
Comment 2 Jan Lieskovsky 2012-06-25 12:54:25 EDT
Created dokuwiki tracking bugs for this issue

Affects: fedora-all [bug 835149]
Affects: epel-all [bug 835150]