Waraxe IT Security Portal
Login or Register
July 6, 2025
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: 58
Members: 0
Total: 58
Full disclosure
iOS Activation Flaw Enables Pre-User Device Compromise andIdentity Exposure (iOS 18.5)
Remote DoS in httpx 1.7.0 – Out-of-Bounds Read via Malformed <title> Tag
CVE-2025-32978 - Quest KACE SMA Unauthenticated LicenseReplacement
CVE-2025-32977 - Quest KACE Unauthenticated Backup Upload
CVE-2025-32976 - Quest KACE SMA 2FA Bypass
CVE-2025-32975 - Quest KACE SMA Authentication Bypass
RansomLord (NG v1.0) anti-ransomware exploit tool
Disclosure Yealink Cloud vulnerabilities
: "Glass Cage" – Zero-Click iMessage ? Persistent iOS Compromise + Bricking (CVE-2025-24085 / 24201, CNVD-2025-07885)
SEC Consult SA-20250612-0 :: Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)
SEC Consult SA-20250611-0 :: Undocumented Root Shell Access on SIMCom SIM7600G Modem
Call for Applications: ERCIM STM WG 2025 Award for the Best Ph.D. Thesis on Security and Trust Management (July 31, 2025)
SEC Consult SA-20250604-0 :: Local Privilege Escalation and Default Credentials in INDAMED - MEDICAL OFFICE (Medical practice management) Demo version
Full Disclosure: CVE-2025-31200 & CVE-2025-31201 – 0-Click iMessage Chain ? Secure Enclave Key Theft, Wormable RCE, Crypto Theft
Defense in depth -- the Microsoft way (part 89): user grouppolicies don't deserve tamper protection
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpNuke -> some fixes waraxe released.
Post new topicReply to topic View previous topic :: View next topic
some fixes waraxe released.
PostPosted: Thu Jul 08, 2004 8:40 pm Reply with quote
genoxide
Regular user
Regular user
Joined: Jun 14, 2004
Posts: 15




Well i'm currently working on a new project of mine and i got cs permission to work with his fixes for phpnuke.
i came across with some of the fixes waraxe made in article.php
Code:
// start code fix by waraxe
$optionbox = '';
// end code fix by waraxe

now if we look in the old code we see,
Code:
$optionbox [b].[/b]= "<br> ;;<img src=\"images/print.gif\" border=\"0\" alt=\""._PRINTER."\" title=\""._PRINTER."\" width=\"16\" height=\"11\"> ;; ;;<a href=\"modules.php?name=$module_name&amp;file=print&amp;sid=$sid\">"._PRINTER."</a><br><br>";
$optionbox .= " ;;<img src=\"images/friend.gif\" border=\"0\" alt=\""._FRIEND."\" title=\""._FRIEND."\" width=\"16\" height=\"11\"> ;; ;;<a href=\"modules.php?name=$module_name&amp;file=friend&amp;op=FriendSend&amp;sid=$sid\">"._FRIEND."</a><br><br>\n";


if we change the code (just remove the dot (.) like,
Code:
$optionbox = "<br> ;;<img src=\"images/print.gif\" border=\"0\" alt=\""._PRINTER."\" title=\""._PRINTER."\" width=\"16\" height=\"11\"> ;; ;;<a href=\"modules.php?name=$module_name&amp;file=print&amp;sid=$sid\">"._PRINTER."</a><br><br>";
$optionbox .= " ;;<img src=\"images/friend.gif\" border=\"0\" alt=\""._FRIEND."\" title=\""._FRIEND."\" width=\"16\" height=\"11\"> ;; ;;<a href=\"modules.php?name=$module_name&amp;file=friend&amp;op=FriendSend&amp;sid=$sid\">"._FRIEND."</a><br><br>\n";

isn't the same thing? but more clean that is Wink
also waraxe are u interested for an alpha testing (security check) of my project when it's done? Smile


Last edited by genoxide on Fri Jul 09, 2004 9:17 am; edited 1 time in total
View user's profile Send private message
PostPosted: Thu Jul 08, 2004 8:45 pm Reply with quote
genoxide
Regular user
Regular user
Joined: Jun 14, 2004
Posts: 15




also about the fix in the modules.php
about the $name fix
Code:
$modpath .= "modules/$name/".$file.".php";
if (file_exists($modpath)) {

how can the 'xploits work? it checks if the file exists in the modules folder right?
so if the attacker puts something like modules.php?name=http://urlhere/cmd.txt it wont work because it will be like
modules/http://urlhere/cmd.txt/index.php and that doesn't exists right?
View user's profile Send private message
PostPosted: Fri Jul 09, 2004 9:15 am Reply with quote
genoxide
Regular user
Regular user
Joined: Jun 14, 2004
Posts: 15




and about the $admin or $user exploits
Code:
#############################################################
#--------------- Base64 sanitize by Waraxe -----------------
if(isset($admin))
{
$admin = base64_decode($admin);
$admin = addslashes($admin);
$admin = base64_encode($admin);
}

if(isset($user))
{
$user = base64_decode($user);
$user = addslashes($user);
$user = base64_encode($user);
}
#############################################################


a real admin or user request should come from the cookies only, right?
so we have:
Code:


#############################################################
#--------------- Base64 sanitize by Waraxe -----------------
if(isset($admin))
{
$admin = $_COOKIE['admin'];
if ($admin) {
$admin = base64_decode($admin);
$admin = addslashes($admin);
$admin = base64_encode($admin);
} else { die('nice try'); }
}

if(isset($user))
{
$user = $_COOKIE['user'];
if ($user) {
$user = base64_decode($user);
$user = addslashes($user);
$user = base64_encode($user);
} else { die('nice try'); }
}
#############################################################
View user's profile Send private message
some fixes waraxe released.
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



PCWizardHub - Helping you fix, build, and optimize your PC life
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.022 Seconds