PHP Advanced Transfer Manager (phpATM) txt.php Multiple Variable XSS

2005-09-20T10:05:00
ID OSVDB:19533
Type osvdb
Reporter rgod(retrogod@aliceposta.it)
Modified 2005-09-20T10:05:00

Description

Vulnerability Description

PHP Advanced Transfer Manager contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'font', 'normalfontcolor' or 'mess' variables upon submission to the txt.php script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Solution Description

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

Short Description

PHP Advanced Transfer Manager contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'font', 'normalfontcolor' or 'mess' variables upon submission to the txt.php script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Manual Testing Notes

http://[target]/[path]/viewers/txt.php?font=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E http://[target]/[path]/viewers/txt.php?normalfontcolor=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E http://[target]/[path]/viewers/txt.php?mess[31]=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

References:

Vendor URL: http://phpatm.free.fr/ Security Tracker: 1014930 Secunia Advisory ID:16867 Related OSVDB ID: 19524 Related OSVDB ID: 19526 Related OSVDB ID: 19529 Related OSVDB ID: 19530 Related OSVDB ID: 19523 Related OSVDB ID: 19528 Related OSVDB ID: 19532 Related OSVDB ID: 19525 Related OSVDB ID: 19527 Related OSVDB ID: 19531 Other Advisory URL: http://rgod.altervista.org/phpatm130.html CVE-2005-3000