Spymac WebOS show_photo.php picid Variable XSS

2005-03-14T01:17:05
ID OSVDB:15245
Type osvdb
Reporter Lostmon Lords(Lostmon@gmail.com)
Modified 2005-03-14T01:17:05

Description

Vulnerability Description

Spymac WebOS contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'picid' or 'nr' variables upon submission to the show_photo.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

Spymac WebOS contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'picid' or 'nr' variables upon submission to the show_photo.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]/gallery/show_photo.php?picid=321126[XSS-CODE]
http://[target]/gallery/show_photo.php?picid=359869&nr=1[XSS-CODE]

References:

Vendor URL: http://www.spymac.com/network.php?p=webos&wwg=20 Related OSVDB ID: 15243 Related OSVDB ID: 15246 Related OSVDB ID: 15249 Related OSVDB ID: 15253 Related OSVDB ID: 15248 Related OSVDB ID: 15252 Related OSVDB ID: 15255 Related OSVDB ID: 15247 Related OSVDB ID: 15250 Related OSVDB ID: 15251 Related OSVDB ID: 15244 Related OSVDB ID: 15254 Other Advisory URL: http://lostmon.blogspot.com/2005/03/spymac-web-os-30-multiple-variable-xss.html