Title: Endian UTM Firewall v2.4.x & v2.5.0-Multiple Web Vulnerabilities
Overview:
==================
Einfach, schnell und zukunftssicher! Die ideale L öhei, um Ihre Filialen und industriellen Zweigstellen rund um den Globus zu sch ützen.
Endian 4i ist die ideale L öw.für büroau into enstellen oder Industrieinstallationen. Die Firewall ist in den zwei Varianten „ Office "und
„ Industrial "erhältlich. Die Office-Version bietet alle Funktionen, um Netzwerke in der Firma und in Verbindung mit Au login enstellen einfach
Und sicher zu verlinken. Derselbe Funktionsumfang ist bei der Industrial-Version vorhanden, die sich speziell an den Industriebereich
Richtet und 24 V Support bietet sowie auf der huschiene installiert werden kann. Remote-Supporting, Remote-Konfiguration, System überwachung
Bis hin zur einfacloud, sicheren Vernetzung von Au guest enstellen-die Kostenvorteile dabei liegen auf der Hand. Sichern auch Sie sich die
Konnektivit ät Ihres Unternehmens AB, und behalten Sie mit der Endian 4i stets die Nase vorn.
(Copy of the Vendor Homepage: http://www.endian.com/de/products/utm-hardware/4i)
Affected products:
==========
Vulnerability-Lab Team discovered multiple Web Vulnerabilities on Endians UTM Firewall v2.5.0 Appliance.
Status
==========
Published
Affected products:
============================
Endian
Product: UTM Firewall Appliance Application v2.5.-x; 2.4-0 & 2. 4.-x
Exploitation-Technique:
======================================
Remote
Severity:
==========
1.1
Multiple persistent input validation vulnerabilities are detected on Endians waf utm appliance application.
The vulnerability allows an attacker to manipulate specific application requests via persistent included script codes.
Vulnerable: Input Validation Vulnerabilities (Server-Side | Persistent)
Vulnerable Module (s ):
[+] Proxy-HTTP Configuration Masks
[+] Service-Intrusion Prevention
[+] Netzwerk-Host Configuration
[+] DHCP
Pictures:
../Ive1.png
1.2
Multiple cross site request forgery vulnerabilities are detected on client-side of the edian waf appliance.
The vulnerability allows an attacker to force client-side module requests of application functions.
Vulnerable: Cross Site Request Forgery Vulnerabilities (Client-Side | Non Persistent)
Vulnerable Module (s ):
[+] HotSpot-Add Password
[+] System-Passwords
Picture (s ):
../Csrf1.png
Test proof:
========================
The vulnerabilities can be exploited by remote attackers with high required user inter action or local low privileged user accounts.
For demonstration or reproduce...
1.1
Example Code Review: Input Validation Vulnerabilities (Persistent Inject)
Server: demo.endian.com/
Path:/cgi-bin/
File: proxyconfig. cgi
<Div id = "page-content-box"> <div id = "notification-view" class = "spinner" style = "display: none"> </div>
<Div id = "module-content">
<Script type = "text/javascript">
$ (Document). ready (function (){
/* Enable visualization of service configurations */
Display_configurications (["squid", "dansguardian", "havp", "sarg"], {"startMessage": "Proxy settings are being
Applied. Please hold... "," updateContent ":". service-switch-form "," type ":" observe "," endMessage ":" Proxy settings have been
Applied successfully. "," interval ":" 500 "});
})
</Script>
<Div class = "error-fancy" style = "width: 504px;">
<Div class = "content">
<Table cellpadding = "0" cellspacing = "0" border = "0">
<Tr>
<Td class = "sign" valign = "middle"> </td>
<Td class = "text" valign = "middle"> ">" <iframe src = http://www.bkjia.com width = 600 height = 600> @ aollamer.de"
At "Email used for notification (cache admin)" is not valid! (Or? @ Rem0ve) <br/> </td>
</Tr>
</Table>
</Div>
Reference (s ):
The https://www.2cto.com/cgi-bin/proxyconfig. cgi.
The https://www.2cto.com/cgi-bin/hosts. cgi
Https://www.2cto.com/cgi-bin/dhcp. cgi.
1.2
Example Code Review: Cross Site Request Forgery Vulnerabilities (Non-Persistent)
Server: demo.endian.com/
Path:/cgi-bin/
File: hotspot-changepw.cgi or changepw. cgi
<Form action = "/cgi-bin/changepw. cgi" method = "post">
<Div class = "section first multi-column">
<Input type = 'siden' name = 'Action _ root' value = 'save'/>
<Div class = "title">
<Div class = "fields-row">
<Span class = "multi-field">
<Label id = "username_field" for = "username"> Password * </label>
<Input type = "password" name = "ROOT_PASSWORD1" SIZE = "5"/> </span>
... Or
<Form enctype = 'multipart/form-data' method = 'post' action = '/cgi-bin/hotspot-changepw.cgi'>
<Input type = 'did' name = 'Action _ hot spot 'value = 'save'/>
<Table width = '000000'>
<Tr>
<Td width = '000000' class = 'base'> Password: </td>
<Td width = '000000'> <input type = 'Password' name = 'hot spot _ PASSWORD1 '/> </td>
<Td width = '000000' class = 'base'> Again: </td>
<Td width = '000000'> <input type = 'Password' name = 'hot spot _ PASSWORD2 '/> </td>
<Td width = '000000'> <input class = 'submitbutton 'type = 'submit' name = 'submit 'value = 'save'/> </td>
</Tr>
</Table>
</Form>
References:
Https://www.2cto.com/cgi-bin/changepw. cgi
Https://xx.xxxx.com/cgi-bin/hotspot-changepw.cgi
Solution:
==========
1.1
Restrict & parse the vulnerable input & output sections to fix the persistent injects.
1.2
Use a csrf tokens & a checkbox to verify a request.
Copyright©2012 | Vulnerability-Lab