Bugtraq mailing list archives

Re: mcLinksCounter v1.1 - Remote File Include Vulnerabilities


From: "Carsten Eilers" <ceilers-lists () gmx de>
Date: Mon, 18 Sep 2006 11:56:35 +0200

Hi,

erne () ernealizm com schrieb am Thu, 14 Sep 2006 23:01:18 +0000:

#  mcLinksCounter v1.1 - Remote File Include Vulnerabilities
# site    : http://www.comscripts.com/jump.php?action=script&id=847

Homepage: <http://www.phpforums.net/index.php?dir=dld>

# Vulnerable :
    http://www.site.com/[path]/login.php?langfile=[shell]
    http://www.site.com/[path]/stats.php?langfile=[shell]
    http://www.site.com/[path]/detail.php?langfile=[shell]
    http://www.site.com/[path]/erase.php?langfile=[shell]

In all of these scripts we have

| include "mclc.php";
| include "$langfile";

and in mclc.php we have

| $langfile="english.php";

So $langfile is initialized and there is no way to change it.
Same for Version 1.2 from the Homepage.
Result: No vulnerability.

Where did you tested this?
If you found vulnerable servers, the phpconfig() of these
could be helpful.

Regards
  Carsten

--
Dipl.-Inform. Carsten Eilers
IT-Sicherheit und Datenschutz

<http://www.ceilers-it.de>



Current thread: