Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Calendar)  >   PHPCalendar Vendors:   [Multiple Authors/Vendors]
PHPCalendar, PHPClique, PHPFanBase, PHPCurrently, and PHPQuotes Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1015206
SecurityTracker URL:
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Nov 15 2005
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  

Description:   Robin Verton reported a vulnerability in PHPCalendar and other scripts available via ''. A remote user can execute arbitrary code on the target system.

The 'protection.php' script does not properly validate user-supplied input in the 'siteurl' 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.

A demonstration exploit URL is provided:


The PHPCalendar, PHPClique, PHPFanBase, PHPCurrently, and PHPQuotes scripts available via '' are affected.

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: (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.

 Source Message Contents

Subject:  PHPCalendar (and some more products) arbitrary code execution

PHPCalendar (and some more products) arbitrary code execution

   Software: PHPCalendar, PHPClique, PHPFanBase, PHPCurrently, PHPQuotes
   Severity: Arbitrary code execution
   Risk: High
   Author: Robin Verton <>
   Date: Sep. 24 2005
   Vendor: [contacted]

 Written in PHP/MySQL, PHPCalendar is a script designed especially to help webmasters to mantain a calendar, with all upcoming events and birthdays.
 It was designed to be used at personal sites, but it can also be very useful for fansites, to keep track of tours, premiers, awards shows,
 tv apearances, interviews, magazines features, and many more! You can see it in use at

 1) protection.php (with register_globals = On)
    If register_globals is on an attacker can include an arbitrary php file to execute malicious code.

    $logout_page = "$siteurl";
    if ($action == "logout")
         Setcookie("logincookie[pwd]","",time() -86400);
         Setcookie("logincookie[user]","",time() - 86400);
   Proof of Concept:
    To exploit this vulnerability an attacker only has to use the following HTTP-Request:
           Set register_globals in the php.ini off or disallow direct access to the protection.php f.e. define constants and use
           code like
    if( !defined('IN_SYS') ) {
     die('Hacking attempt');
    to prevent the direct access
       Credit goes to Robin Verton, 15 years old from Germany
       [2] [about 112,000 results]
       [3] [about 44,000 results]
       [4] [about 44,000 results]


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 2020, LLC