SQL injection vulnerability in Room.php in Francisco Charrua Photo-Gallery 1.0 allows remote attackers to execute arbitrary SQL commands via the id parameter.
http://www.vupen.com/english/advisories/2006/2834
http://www.securityfocus.com/bid/19020
http://www.securityfocus.com/archive/1/440124/100/100/threaded