Waraxe IT Security Portal
Login or Register
December 22, 2024
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: 9144

People Online:
Visitors: 179
Members: 0
Total: 179
Full disclosure
CyberDanube Security Research 20241219-0 | Authenticated Remote Code Execution in Ewon Flexy 205
Stored XSS with Filter Bypass - blogenginev3.3.8
[SYSS-2024-085]: Broadcom CA Client Automation - Improper Privilege Management (CWE-269)
[KIS-2024-07] GFI Kerio Control <= 9.4.5 Multiple HTTP Response Splitting Vulnerabilities
RansomLordNG - anti-ransomware exploit tool
APPLE-SA-12-11-2024-9 Safari 18.2
APPLE-SA-12-11-2024-8 visionOS 2.2
APPLE-SA-12-11-2024-7 tvOS 18.2
APPLE-SA-12-11-2024-6 watchOS 11.2
APPLE-SA-12-11-2024-5 macOS Ventura 13.7.2
APPLE-SA-12-11-2024-4 macOS Sonoma 14.7.2
APPLE-SA-12-11-2024-3 macOS Sequoia 15.2
APPLE-SA-12-11-2024-2 iPadOS 17.7.3
APPLE-SA-12-11-2024-1 iOS 18.2 and iPadOS 18.2
SEC Consult SA-20241211-0 :: Reflected Cross-Site Scripting in Numerix License Server Administration System Login
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Remote file inclusion -> php shell -> root
Post new topicReply to topic View previous topic :: View next topic
php shell -> root
PostPosted: Wed Jun 13, 2007 8:11 pm Reply with quote
drag
Active user
Active user
Joined: May 31, 2007
Posts: 25




Is it possible to run local exploits within the r57 or c99 shell to escalate priveleges? Or do you need to be using an actual shell on the system?
View user's profile Send private message
Re: php shell -> root
PostPosted: Fri Jun 15, 2007 9:47 am Reply with quote
ToXiC
Moderator
Moderator
Joined: Dec 01, 2004
Posts: 181
Location: Cyprus




drag wrote:
Is it possible to run local exploits within the r57 or c99 shell to escalate priveleges? Or do you need to be using an actual shell on the system?


with php shells you have limited access to work only on tmp folders or on folders/files that are public.

To move futher on you need a binder (if you are able to install one) .. So to successfully compromise a system with c99 or r57 the system itself should be really stupitly configured.

but still .. maybe the system is patched and configured correctly .. but users that are on it leave the configuration.php or config.php or admin.php files on 777 r/w/e permition so everybody is able to read them ..

and if you move one step futher.. you can do something like this..

cat /etc/passwd

you got all the users on the site .. then write a small script that the only thing will do is.

cat /home/user1/configuration.php >> out.txt
cat /home/user2/configuration.php >> out.txt
cat /home/user3/configuration.php >> out.txt

cat /home/user1/config.php >> out.txt
cat /home/user2/config.php >> out.txt
cat /home/user3/config.php >> out.txt

(imagine having a server with more thatn 1000 sites on it.. NOT ALL THE USERS REMOVE 777 permition on those files)

after that download out.txt file and see what inside Smile

most probably a lot configuration files and a lot database names user/pass

.... then with c99 you can connect to the database and edit/or view the hash value of the admin..

.......( Then of course you call the owner of the site and you inform him to change the permitions ) Smile

Now ... With statistical results.. 3 out of 10 users use same password to cpanel/ssh/admin section of their web application (joomla/phpnuke/e107/etc etc)

Then is more likely to have an ssh password and if you want you can compromise the whole system easier with local exploits...


This is just a thought.. Its easier to exploit a users stupidity than a server's bug Smile

ToXiC

_________________
who|grep -i blonde|talk; cd~;wine;talk;touch;unzip;touch; strip;gasp;finger;gasp;mount; fsck; more; yes; gasp; umount; make clean; sleep;wakeup;goto http://www.md5this.com
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Sat Jun 16, 2007 9:04 am Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




ToXiC no need 777 perms on files to read him,604 enough to read this files witn owner nobody.
View user's profile Send private message
PostPosted: Sat Jun 16, 2007 12:55 pm Reply with quote
ToXiC
Moderator
Moderator
Joined: Dec 01, 2004
Posts: 181
Location: Cyprus




koko wrote:
ToXiC no need 777 perms on files to read him,604 enough to read this files witn owner nobody.


yes i was giving just an example..

_________________
who|grep -i blonde|talk; cd~;wine;talk;touch;unzip;touch; strip;gasp;finger;gasp;mount; fsck; more; yes; gasp; umount; make clean; sleep;wakeup;goto http://www.md5this.com
View user's profile Send private message Visit poster's website MSN Messenger
php shell -> root
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 topicReply 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-2024 Janek Vind "waraxe"
Page Generation: 0.035 Seconds