TFTgallery 0.13 - 'sample' Cross-Site Scripting

EDB-ID:

33320


Author:

blake

Type:

webapps


Platform:

PHP

Date:

2009-11-02


source: https://www.securityfocus.com/bid/36898/info

TFTgallery is prone to a cross-site scripting vulnerability because the application fails to sufficiently sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.

This issue affects TFTgallery 0.13; other versions may be vulnerable as well. 

The following example URI is available:

http://www.example.com/tftgallery/settings.php?sample='></link><script>alert('blake XSS test')</script>&name=cucumber%20cool