note 109188 modified in security by danbrown

From: Date: Wed, 27 Jun 2012 16:39:32 +0000
Subject: note 109188 modified in security by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-188944@lists.php.net to get a copy of this message
Features for manipulation of input data:&#13;&#10;&#13;&#10;- Additional or lack of form variables&#13;&#10;It will send only pass variables from a form provided by the attacker set and not all the form variables like the real thing.&#13;&#10;BSP:&#13;&#10;&#60;form ...&#62;&#13;&#10;&#60;input name=&#34;name&#34;&#62;&#13;&#10;&#60;input name=&#34;password&#34;&#62;&#13;&#10;&#60;input name=&#34;optional&#34;&#62;&#13;&#10;&#13;&#10;$ _POST [&#39;Name&#39;] = &#34;root&#34;;&#13;&#10;$ _POST [&#39;Password&#39;] = &#34;12345&#34;;&#13;&#10;$ _POST [&#39;Optional&#39;] would be missing&#13;&#10;&#13;&#10;- Session ID does not match the standard&#13;&#10;Session ID is guessed or tried themselves together, making it too short or contains incorrect characters&#13;&#10;BSP:&#13;&#10;http://www.example.com/?sid=ABCDabcd1234&#13;&#10;instead of&#13;&#10;http://www.example.com/?sid=ABCD% 2Cabcd-1234&#13;&#10;&#13;&#10;- Hidden, select, checkbox variables do not correspond to the model&#13;&#10;The transmitted values ​​are different from the predefined values ​​of the above fields&#13;&#10;BSP:&#13;&#10;&#60;select name=&#34;auswahl&#34;&#62;&#13;&#10;&#60;option value=&#34;1&#34;&#62; One &#60;/ option&#62;&#13;&#10;&#60;option value=&#34;2&#34;&#62; Two &#60;/ option&#62;&#13;&#10;&#60;option value=&#34;3&#34;&#62; Three &#60;/ option&#62;&#13;&#10;&#60;/ select&#62;&#13;&#10;&#13;&#10;$ _POST [&#39;Selection&#39;] = &#39;a&#39;;&#13;&#10;No integer value&#13;&#10;&#13;&#10;- Source of variables (get, post, cookie) do not match&#13;&#10;The attacker tries to parameter passing some variables to set or influence&#13;&#10;BSP:&#13;&#10;http://example.com/?login=true&#13;&#10;&#13;&#10;$ _GET [&#39;Login&#39;] = true&#13;&#10;&#13;&#10;instead of&#13;&#10;&#13;&#10;$ _COOKIE [&#39;Login&#39;] = true --was-- Features for manipulation of input data: - Additional or lack of form variables It will send only pass variables from a form provided by the attacker set and not all the form variables like the real thing. BSP: <form ...> <input name="name"> <input name="password"> <input name="optional"> $ _POST ['Name'] = "root"; $ _POST ['Password'] = "12345"; $ _POST ['Optional'] would be missing - Session ID does not match the standard Session ID is guessed or tried themselves together, making it too short or contains incorrect characters BSP: http://www.google.de/?sid=ABCDabcd1234 instead of http://www.google.de/?sid=ABCD% 2Cabcd-1234 - Hidden, select, checkbox variables do not correspond to the model The transmitted values ​​are different from the predefined values ​​of the above fields BSP: <select name="auswahl"> <option value="1"> One </ option> <option value="2"> Two </ option> <option value="3"> Three </ option> </ select> $ _POST ['Selection'] = 'a'; No integer value - Source of variables (get, post, cookie) do not match The attacker tries to parameter passing some variables to set or influence BSP: http://google.de/?login=true $ _GET ['Login'] = true instead of $ _COOKIE ['Login'] = true http://php.net/manual/en/security.php

« previous php.notes (#188944) next »