FlatNuke structure.php Multiple Variable XSS

2005-08-04T05:19:28
ID OSVDB:18551
Type osvdb
Reporter rgod(retrogod@aliceposta.it)
Modified 2005-08-04T05:19:28

Description

Vulnerability Description

FlatNuke contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate 'bodycolor', 'backimage', 'theme' and 'logo' variables upon submission to the 'structure.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

FlatNuke contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate 'bodycolor', 'backimage', 'theme' and 'logo' variables upon submission to the 'structure.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]/themes/butterfly/structure.php?bodycolor="><script>alert(document.cookie)</script> http://[target]/[path]/themes/butterfly/structure.php?backimage="><script>alert(document.cookie)</script> http://[target]/[path]/themes/butterfly/structure.php?backimage=whatever&theme="><script>alert(document.cookie)</script> http://[target]/[path]/themes/butterfly/structure.php?backimage=whatever&bodycolor="><script>alert(document.cookie)</script> http://[target]/[path]/themes/butterfly/structure.php?logo="><script>alert(document.cookie)</script>

References:

Vendor URL: http://flatnuke.sourceforge.net/ Secunia Advisory ID:16330 Related OSVDB ID: 18554 Related OSVDB ID: 18549 Related OSVDB ID: 18550 Related OSVDB ID: 18552 Related OSVDB ID: 18553 Other Advisory URL: http://rgod.altervista.org/flatnuke.html Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2005-08/0082.html ISS X-Force ID: 21707 CVE-2005-2539 Bugtraq ID: 14483