plugins/event_tracer/event_list.php in PhpWebGallery 1.7.2 and earlier allows remote authenticated administrators to execute arbitrary PHP code via PHP sequences in the sort parameter, which is processed by create_function.
https://www.exploit-db.com/exploits/6755
https://exchange.xforce.ibmcloud.com/vulnerabilities/45875