Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!

TUCoPS :: Linux :: Apps A-M :: tb10098.htm (italian ISP) XSS vulnerability (italian ISP) XSS vulnerability (italian ISP) XSS vulnerability, one of the most important italian ISP ( is affected from a XSS vulnerability. 
The vulnerability can be found in the "Community" section of Libero portal, and the affected functionality is "add nick" ( 
The implementation of this functionality allows the injection of malicious code in the URL, so that an attacker can steal username and password of the victim accessing his cookie. 

The normal URL would be something linke this: 

where "mickey" is the name of the nick i'd like to add to mu buddy list.

Trough a simple XSS locator can be found that the page is vulnerable to the XSS vector: )> 

The cookie showed contains the victim username and password (used for both the Community and the Webmail): the username is stored 
in plain text while the password is hashed with md5 algorithm (most password are 5-6 char long and can be decrypted using md5-rainbowtables method) 

A more crafted URL makes possible to automatically post victim cookies to a remote server.

A simple parsing of the URL is done by the web application, so that quote and double-quote (' and ") chars are escaped by putting a \ before of them (both using ASCII and URL encoding).
So it's a bit tricky to pass in the XSS URL the remote server URL and the cookie. 
This control can be avoided by constructing the remote server URL from inside the web application logic

- the attacker remote base url is encoded using URL encoding and the % char is removed: ( --> 


- the following script can be easily attached to the webapp url:

(on some browser the "eval()" method must be applied on "tot")

- the so composed script is URL encoded and attached to the webapp URL: 

Rosario Valotta

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2015 AOH