Waraxe IT Security Portal
Login or Register
November 15, 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: 93
Members: 0
Total: 93
Full disclosure
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
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
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpNuke -> PHP Nuke <= 7.8 Multiple SQL Injections
Post new topicReply to topic View previous topic :: View next topic
PHP Nuke <= 7.8 Multiple SQL Injections
PostPosted: Tue Sep 13, 2005 4:31 pm Reply with quote
darkclaw
Regular user
Regular user
Joined: Aug 04, 2005
Posts: 14




Check http://www.securityfocus.com/archive/1/410314/30/0/threaded
View user's profile Send private message
So, how do I use
PostPosted: Wed Sep 14, 2005 6:40 pm Reply with quote
webjunky
Regular user
Regular user
Joined: Jun 25, 2005
Posts: 5




SO how do I use this?
What URL should I use to make a new admin with pass=coolpass and admin=waraxe?


NewAngels Advisory #7]PHP Nuke <= 7.8 Multiple SQL Injections
========================================================================
=====

Software: PHP Nuke 7.8
Type: SQL Injections
Risk: High

Date: Sep. 10 2005
Vendor: PHP-Nuke (phpnuke.org)

Credit:
=======
Robin 'onkel_fisch' Verton from it-security23.net

Description:
============
PHP-Nuke is a news automated system specially designed to be used in Intranets and Internet.
The Administrator has total control of his web site, registered users, and he will have in the hand
a powerful assembly of tools to maintain an active and 100% interactive web site using databases.
[http://www.phpnuke.org/]

Vulnerability:
==============

PHP Nuke 7.8 is prone to multiple SQL injection vulnerabilities.
These issues are due to a failure in the application to properly sanitize user-supplied input before using it in SQL queries.

In the modules.php

$result = $db->sql_query("SELECT active, view FROM ".$prefix."_modules WHERE title='$name'");

The $name variable is not checked so you could inject malicious SQL Code. In an file which is included whe have the following code:

$queryString = strtolower($_SERVER['QUERY_STRING']);
if (stripos_clone($queryString,'%20union%20') OR stripos_clone($queryString,'/*') OR stripos_clone($queryString,'*/union/*') OR stripos_clone($queryString,'c2nyaxb0')) {
header("Location: index.php");
die();
}

[...]

if (!ini_get("register_globals")) {
import_request_variables('GPC');
}

So you can use UNION in a GET var. But because they use register_globals or impor_request_variables you can send
the malicous SQL-Code via POST so it is not checked if you insert an "union".

http://www.example.com/modules.php POST: name=' OR 1=1/*
will produce an error, neither
http://www.example.com/modules.php POST: name=' OR 1=2/*
will only tell you taht the requestet 'modul' is not active, so you can read out the admin password hahs via blind injections.

Additionaly there are a few SQL-Injections in the modules.
Here a few examples:

http://www.example.com/modules.php?name=News&file=article&sid=[SQL] - here the same as above, send this via POST to
bypass the 'union'-cover

http://www.example.com/modules.php?name=News&file=comments&Reply&pid=[SQ
L]

http://www.example.com/modules.php?name=News&file=comments&op=Reply&pid=
[SQL]

http://www.example.com/modules.php?name=News&file=comments&op=Reply&sid=
[SQL]

Greets:
==============
CyberDead, atomic, sirius_
Whole secured-pussy.de Team
Zealots Very Happy Very Happy
View user's profile Send private message
PostPosted: Sat Sep 17, 2005 1:21 pm Reply with quote
darkclaw
Regular user
Regular user
Joined: Aug 04, 2005
Posts: 14




Exploit available at: http://www.milw0rm.com/id.php?id=1219
View user's profile Send private message
PostPosted: Sat Sep 17, 2005 4:14 pm Reply with quote
zer0-c00l
Advanced user
Advanced user
Joined: Jun 25, 2004
Posts: 72
Location: BRAZIL!




anyone has this exploit already compiled?
View user's profile Send private message
PostPosted: Sun Sep 18, 2005 6:52 am Reply with quote
AnalCunt
Beginner
Beginner
Joined: Sep 03, 2005
Posts: 2




zer0-c00l wrote:
anyone has this exploit already compiled?

omfg.
View user's profile Send private message
PostPosted: Sun Sep 18, 2005 5:52 pm Reply with quote
zer0-c00l
Advanced user
Advanced user
Joined: Jun 25, 2004
Posts: 72
Location: BRAZIL!




AnalCunt wrote:
zer0-c00l wrote:
anyone has this exploit already compiled?

omfg.


THIS: http://www.milw0rm.com/id.php?id=1219

Cool
View user's profile Send private message
...
PostPosted: Wed Sep 21, 2005 6:37 pm Reply with quote
cluster
Regular user
Regular user
Joined: Nov 13, 2004
Posts: 8




when I try it I only see cccccccccccccc like

[~] Folder: //
[!] Searching password for user with id : 2
[!] Please wait...
[+] Password: cccccccccccccccccccccccccccccccc

any idea?...
View user's profile Send private message
Re: ...
PostPosted: Fri Sep 23, 2005 12:06 am Reply with quote
Pi0u
Regular user
Regular user
Joined: Sep 23, 2005
Posts: 5




cluster wrote:
when I try it I only see cccccccccccccc like

[~] Folder: //
[!] Searching password for user with id : 2
[!] Please wait...
[+] Password: cccccccccccccccccccccccccccccccc

any idea?...


The same for me , i duno how to fix it :s
View user's profile Send private message Send e-mail MSN Messenger
PostPosted: Sat Sep 24, 2005 8:34 pm Reply with quote
diegocure15
Active user
Active user
Joined: Sep 22, 2004
Posts: 27




how did you do it? i been trying for 10 days and nothing yet.
View user's profile Send private message
PostPosted: Fri Oct 07, 2005 10:09 am Reply with quote
Soickan
Beginner
Beginner
Joined: Oct 07, 2005
Posts: 1




my compile file.

Sample: test.so

But, usage command ?

Pls help me.
View user's profile Send private message
PostPosted: Thu Nov 03, 2005 9:01 am Reply with quote
goblin
Regular user
Regular user
Joined: Nov 03, 2005
Posts: 8




the exploit is tested ?


thanx,this post
View user's profile Send private message ICQ Number
PostPosted: Thu Nov 03, 2005 12:40 pm Reply with quote
KingOfSka
Advanced user
Advanced user
Joined: Mar 13, 2005
Posts: 61




i compiled and tested this exploit locally on my linux box, it works perfectly, but the target site must have mysql => 4.0 , when you get "ccccc" it should be because the target was patched or was using an older version of mysql
View user's profile Send private message Visit poster's website
PostPosted: Mon Jul 31, 2006 12:45 am Reply with quote
Elewyn
Beginner
Beginner
Joined: Feb 03, 2006
Posts: 3




Hi !

I have one question; how to send one script via Post method?

Sorry for my english!
View user's profile Send private message Visit poster's website
Re: ...
PostPosted: Fri Aug 01, 2008 10:14 am Reply with quote
Dj_Asim
Beginner
Beginner
Joined: Jul 31, 2008
Posts: 3




Pi0u wrote:
cluster wrote:
when I try it I only see cccccccccccccc like

[~] Folder: //
[!] Searching password for user with id : 2
[!] Please wait...
[+] Password: cccccccccccccccccccccccccccccccc

any idea?...


The same for me , i duno how to fix it :s


Secured? patched Rolling Eyes
View user's profile Send private message
PHP Nuke <= 7.8 Multiple SQL Injections
www.waraxe.us Forum Index -> PhpNuke
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.054 Seconds