txtForum view_topic.php Multiple Variable XSS

2006-03-09T15:18:10
ID OSVDB:23957
Type osvdb
Reporter Nenad Jovanovic(enji@infosys.tuwien.ac.at)
Modified 2006-03-09T15:18:10

Description

Vulnerability Description

txtForum contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'tid', 'sticked', and 'mid' (via POST method) variables upon submission to the view_topic.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.

Technical Description

This vulnerability is only present when the magic_quotes_gpc PHP option is 'on' and the register_globals PHP option is 'off'.

Solution Description

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

Short Description

txtForum contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'tid', 'sticked', and 'mid' (via POST method) variables upon submission to the view_topic.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]/txtforum104/view_topic.php?page=27&tid='><script>alert('xss_string')</script> http://[target]/txtforum104/view_topic.php?print_adminJS=1&tid="><script>alert('xss_string')</script> http://[target]/txtforum104/view_topic.php?page=-1&tid=xss_string http://[target]/txtforum104/view_topic.php?tid=xss_string

References:

Vendor URL: http://sourceforge.net/projects/txtforum1 Related OSVDB ID: 23955 Related OSVDB ID: 23953 Related OSVDB ID: 23954 Related OSVDB ID: 23956 Other Advisory URL: http://www.seclab.tuwien.ac.at/advisories/TUVSA-0603-003.txt Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-02/0727.html Keyword: TUVSA-0603-003 CVE-2006-1204