Armenian Freenet web based mailer security flaw
(software design bug)
VX Advisory #0002
0Originally Discovered by Vahram Igityan <
[email protected]> @ 20020708
0DESCRIPTION
Armenian Freenet is the most popular free mail and hosting server in Armenia.
And it's web based mailer is part ot their free service located at
http://email.freenet.am.
0OVERVIEW
Users on Armenian Freenet can execute any type of PHP code.
0DETAILS
When user is viewing his/her attachment its' beeing saved on server's disk in uniquie
directory and beeing getted by browser, so if you attach .php file, it will be parsed
by server.
0EXPLOIT
Write code like <? phpinfo();?> ,attach it and send to freenet account, the open youre
inbox using their web based mailer and -=enjoy=-
0SOLUTION
Rewrite the part of attachemt viewing code, use directory outside the DocumentRoot and show
attch by opening and dumping a file.
---eof--