This directory traversal has already been discovered.

http://packetstormsecurity.org/0605-exploits/gphotos.txt f4e2552282a5007bb84e7693bc78dac2 GPhotos versions 1.5 and below suffer from directory traversal and cross site scripting flaws.  Authored By Moroccan Security

On Sat, Nov 18, 2006 at 09:19:01PM -0000, tux025 (at) gmail (dot) com [email concealed] wrote:
> 18/11/06
> 
> # Produit Vuln?rable : GPhotos 1.5
> 
> # Site officiel du produit :  http://photopeyu.free.fr/ 
> 
> #Vuln?rabilitiezz : 	
> 
> 1] Multiple Full path disclosure : http://localhost/photos/index.php?rep=tux25
> 
> 2]Directory traversal : http://localhost/photos/index.php?rep=../
> 
> ~Tux25 - tux025_gmail_point_com :)