PhotoADay Pad_selected Parameter Cross-Site Scripting Vulnerability

2004-08-23T00:00:00
ID EDB-ID:24399
Type exploitdb
Reporter King Of Love
Modified 2004-08-23T00:00:00

Description

PhotoADay Pad_selected Parameter Cross-Site Scripting Vulnerability. Webapps exploit for php platform

                                        
                                            source: http://www.securityfocus.com/bid/11009/info

It is reported that PhotoADay is affected by a cross-site scripting vulnerability. This issue is due to a failure of the application to properly sanitize user-supplied URI input.

This issue could permit a remote attacker to create a malicious URI link that includes hostile HTML and script code. If this link were to be followed, the hostile code may be rendered in the web browser of the victim user. This would occur in the security context of the affected web site and may allow for theft of cookie-based authentication credentials or other attacks.

All versions of PhotoADay are considered vulnerable at the moment. 

http://www.example.com/modules.php?name=Photo_A_Day&action=single&pad_selected=44%20UNION%20SELECT%20< script>alert(document.cookie);</script>