AutoIndex PHP Script Index.PHP Cross-Site Scripting Vulnerability
BID:14154
Info
AutoIndex PHP Script Index.PHP Cross-Site Scripting Vulnerability
| Bugtraq ID: | 14154 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 05 2005 12:00AM |
| Updated: | Jul 05 2005 12:00AM |
| Credit: | mozako <[email protected]> is credited with the discovery of this vulnerability. |
| Vulnerable: |
AutoIndex PHP Script AutoIndex PHP Script 1.5.2 |
| Not Vulnerable: | |
Discussion
AutoIndex PHP Script Index.PHP Cross-Site Scripting Vulnerability
AutoIndex PHP Script is prone to a cross-site scripting vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.
An attacker may leverage this issue to have arbitrary script code executed in the browser of an unsuspecting user in the context of the affected site. This may facilitate the theft of cookie-based authentication credentials as well as other attacks.
AutoIndex PHP Script is prone to a cross-site scripting vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.
An attacker may leverage this issue to have arbitrary script code executed in the browser of an unsuspecting user in the context of the affected site. This may facilitate the theft of cookie-based authentication credentials as well as other attacks.
Exploit / POC
AutoIndex PHP Script Index.PHP Cross-Site Scripting Vulnerability
No exploit is required.
The following proof of concept URI is available:
http://www.example.com/index.php?search='>%3Cscript%3Ealert%28%27owned%27%29%3Blocation.href%3D%27http%3A%2F%2Fwww.example.com%27%3B%3C%2Fscript%3E&dir=&searchMode=
No exploit is required.
The following proof of concept URI is available:
http://www.example.com/index.php?search='>%3Cscript%3Ealert%28%27owned%27%29%3Blocation.href%3D%27http%3A%2F%2Fwww.example.com%27%3B%3C%2Fscript%3E&dir=&searchMode=
Solution / Fix
AutoIndex PHP Script Index.PHP 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
AutoIndex PHP Script Index.PHP Cross-Site Scripting Vulnerability
References:
References:
- AutoIndex PHP Script Homepage (AutoIndex PHP Script)
- Re: [badroot security] AutoIndex PHP Script: XSS vulnerability (mozako
)