JetPhoto gallery.php page Variable XSS

2006-04-10T03:17:37
ID OSVDB:24492
Type osvdb
Reporter 0o_zeus_o0(zeus@diosdelared.com)
Modified 2006-04-10T03:17:37

Description

Vulnerability Description

JetPhoto contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'page' variable upon submission to the gallery.php script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Solution Description

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

Short Description

JetPhoto contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'page' variable upon submission to the gallery.php script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Manual Testing Notes

http://[target]/[path]/view/Classic.view/gallery.php?name=JetPhoto_Album&page=<script>alert(document.cookie);</script>

References:

Vendor URL: http://www.jetphotosoft.com/ Secunia Advisory ID:19603 Related OSVDB ID: 24491 Related OSVDB ID: 24493 Related OSVDB ID: 24494 Other Advisory URL: http://www.elitemexico.org/11.txt Mail List Post: http://archives.neohapsis.com/archives/fulldisclosure/2006-04/0186.html FrSIRT Advisory: ADV-2006-1300 CVE-2006-1760 Bugtraq ID: 17449