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
(Links to External Site)
Updated: Jun 9 2005|
Original Entry Date: Jun 7 2005
Execution of arbitrary code via network, User access via network|
Exploit Included: Yes |
Version(s): 1.41-r2 and prior versions|
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:
This can be exploited if the 'register_globals' setting in the 'php.ini' file is set to 'on'.
The original advisory is available at:
Leon Juranic of LSS Security Team discovered this vulnerability.
A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.|
No solution was available at the time of this entry.|
Vendor URL: www.ractive.ch/popper/ (Links to External Site)
Input validation error, State error|
|Underlying OS: Linux (Any), UNIX (Any), Windows (Any)|
Source Message Contents
Subject: Popper webmail remote code execution vulnerability - advisory fix|
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
I apologize for our mistake, here is fixed advisory.
LSS Security Advisory #LSS-2005-06-07
Title: Popper webmail remote code execution vulnerability
Advisory ID: LSS-2005-06-07
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
Popper is a webmail application written in PHP which allows users to read
and send their e-mail messages using a web browser.
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:
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:
Vulnerability can be exploited only if register_globals in php.ini file is set
==[ Affected Version
All popper versions including latest 1.41-r2.
Set register_globals to off.
==[ PoC Exploit
No PoC needed.
Credits for this vulnerability goes to Leon Juranic <email@example.com>.
==[ LSS Security Contact
LSS Security Team,
WWW : http://security.lss.hr
E-mail : security@LSS.hr
Tel : +385 1 6129 775