XcPhotoAlbum v1.x XSS vuln. Vuln. dicovered by : r0t Date: 6 dec. 2005 orginal advisory:http://pridels.blogspot.com/2005/12/xcphotoalbum-v1x-xss-vuln.html vendor:http://www.xcphotoalbum.com/ affected version:v1.x and prior
Product Description: XcPhotoAlbum makes it fast and easy to organize many photos on your web site. You can use it for something as simple as a place to post images for friends and family. You can also use it at work, by creating a gallery of images for products. Show your products in their best light by showing how they are used. Or how your customers use them. It can also be a great way to show things like maintenance procedures or assembly techniques. With XcPhotoAlbum, you are only limited by your imagination.
XcPhotoAlbum contains a flaw that allows a remote cross site scripting attack. This flaw exists because input passed to the search paremters in "PASearch.asp" isn't properly sanitised before being returned to the user.
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: Edit the source code to ensure that input is properly sanitised.