Lucene search
+L

Akeni LAN 1.2.118 Filter Bypass

🗓️ 31 Oct 2012 00:00:00Reported by n/aType 
zdt
 zdt
🔗 0day.today👁 41 Views

Akeni LAN 1.2.118 Filter Bypass vulnerability in contact lis

Code
Akeni LAN v1.2.118 - Filter Bypass Vulnerability

Introduction:
=============
Akeni LAN Messenger is an IM system designed for your LAN. It is easy to setup and does not requires a dedicated server 
or Internet connection. The rich client support chat, notification, conferencing, and file transfer. For those who also need 
authentication and encryption, please take a look at our Expert and Pro products.

If your organization needs a web based solution that requires no client side installation of software, please take a look 
at our Web Chat. Due to the peer-to-peer nature of the product, there is no single point of failure and there is no need for 
any network setup. This make Akeni LAN Messenger a good solution for dynamic environment where two people can communicate with 
one another as long as the network itself is up and running. For example, LAN Messenger can be used by IT support personnel 
who needs a way to communicate and send files with each other anywhere in their network easily, without the need to connect 
to the Internet or to a centralized server.

(Copy of the Vendor Website: http://www.akeni.com/en/product/lanmessenger.php )

Details:
========
A filter bypass software vulnerability is the detected in the official Akeni LAN (LE) Messenger v1.2.118.
The bug allows local attackers to inject own malicious persistent script codes on application-side.
The vulnerability is located in the Akeni `incorrect length` exception-handling module with the bound vulnerable 
groupname (Gruppenname) parameter. The filter of the Akeni LAN Messenger santizes malicious tags and evil frame 
context but does not recognize a secound splitted (%20) request after the first. The attacker can provoke a first 
parse by injecting for example a >`` to match the invalid exception criterias. After the provoke he splits the request 
with %20 and inject his own tags directly after it. The result is a persistent script code execution out of the invalid length &
 invalid parameter software exception-handling.

Vulnerable Module(s):
        [+] Menu > Action > Contact List > Add Group

Vulnerable Parameter(s):
        [+] Incorrect Length - Exception-Handling
        [+] Invalid Context - Exception-Handling


Proof of Concept:
=================
The vulnerability can be exploited by local attackers without required user inter action. For demonstration or reproduce ...

1.
Let us watch the exception-handling of the invalid length. First we inject a standard iframe like >"<iframe src=a>

[>"'>] has incorrect length.
 Groups name must have between %2 and %3 characters.

... the validation of the incorrect length or invalid parameter redisplays the message but parse the iframe tag.
We can see in the parse the >" which is splitted from the parse itself and shows is there could be an injection possibility.

1.2
The next step will be to split the request. HOW?! We inject a standard iframe (<iframe src=a>) split the request 
with %20 (Space) and inject the secound script code after the split.

PoC:
String: >"<iframe src=a><%20>"<img src=http://www.site.com/gfx/logo-header.png>

--- Exception Logs (Bypass) ---
[>""] has incorrect length. 
Groups name must have between 30 and %3 characters.


Risk:
=====
The security risk of the local persistent software vulnerability is estimated as medium(-).

#  0day.today [2018-04-02]  #

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