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.
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.