Akeni LAN v1.2.118 - Filter Bypass Vulnerability

Type vulnerlab
Reporter Vulnerability Laboratory - [Research Team] (research@vulnerability-lab.com)
Modified 2012-11-13T00:00:00


                                            Document Title:
Akeni LAN v1.2.118 - Filter Bypass Vulnerability

References (Source):

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service 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 )

Abstract Advisory Information:
The Vulnerability Laboratory Research Team discovered a filter bypass software vulnerability in the official Akeni LAN (LE) Messenger v1.2.118.

Vulnerability Disclosure Timeline:
2012-11-14:	Public or Non-Public Disclosure

Discovery Status:

Exploitation Technique:

Severity Level:

Technical Details & Description:
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 second 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 (PoC):
The vulnerability can be exploited by local attackers without required user inter action. For demonstration or reproduce ...

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.

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 second script code after the split.

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

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

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

Credits & Authors:
Vulnerability Laboratory - [Research Team] (research@vulnerability-lab.com)

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 for consequential or incidental damages so the foregoing limitation 
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases 
or trade with fraud/stolen material.

Domains:    www.vulnerability-lab.com   	- www.vuln-lab.com			       - www.vulnerability-lab.com/register
Contact:    admin@vulnerability-lab.com 	- support@vulnerability-lab.com 	       - research@vulnerability-lab.com
Section:    video.vulnerability-lab.com 	- forum.vulnerability-lab.com 		       - news.vulnerability-lab.com
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

Any modified copy or reproduction, including partially usages, of this file 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, sourcecode, videos and 
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), 
modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.

    				   	Copyright © 2012 | Vulnerability Laboratory