inc/template.php in DokuWiki before 2014-05-05a only checks for access to the root namespace, which allows remote attackers to access arbitrary images via a media file details ajax call.
https://github.com/splitbrain/dokuwiki/issues/765
https://bugs.dokuwiki.org/index.php?do=details&task_id=2647#comment6204
http://www.openwall.com/lists/oss-security/2014/10/16/9
http://www.openwall.com/lists/oss-security/2014/10/13/3
http://www.debian.org/security/2014/dsa-3059