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.
http://advisories.mageia.org/MGASA-2014-0438.html
http://secunia.com/advisories/61983
https://github.com/splitbrain/dokuwiki/issues/765
http://www.debian.org/security/2014/dsa-3059