PhotoADay Pad_selected Parameter Cross-Site Scripting Vulnerability
BID:11009
Info
PhotoADay Pad_selected Parameter Cross-Site Scripting Vulnerability
| Bugtraq ID: | 11009 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 23 2004 12:00AM |
| Updated: | Aug 23 2004 12:00AM |
| Credit: | Discovery is credited to King Of Love <[email protected]>. |
| Vulnerable: |
PhotoADay PhotoADay |
| Not Vulnerable: | |
Discussion
PhotoADay Pad_selected Parameter Cross-Site Scripting Vulnerability
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.
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.
Exploit / POC
PhotoADay Pad_selected Parameter Cross-Site Scripting Vulnerability
An exploit is not required. An example URI sufficient to exploit this vulnerability has been provided:
http://www.example.com/modules.php?name=Photo_A_Day&action=single&pad_selected=44%20UNION%20SELECT%20< script>alert(document.cookie);</script>
An exploit is not required. An example URI sufficient to exploit this vulnerability has been provided:
http://www.example.com/modules.php?name=Photo_A_Day&action=single&pad_selected=44%20UNION%20SELECT%20< script>alert(document.cookie);</script>
Solution / Fix
PhotoADay Pad_selected Parameter Cross-Site Scripting Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
References
PhotoADay Pad_selected Parameter Cross-Site Scripting Vulnerability
References:
References:
- Homepage (PhotoADay)
- PhotoADay Module Input Validation Hole Permits Cross-Site Scripting Attacks (SecurityTracker)