Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

phpCommunityCalendar Multiple Vulnerabilities

-

Release Date:  2005-09-07    Last Update:  2006-06-08    Views:  9,001

Secunia Advisory SA16721

Where:

From remote

Impact:

Security Bypass, Cross Site Scripting, Manipulation of data

Solution Status:

Unpatched

CVE Reference(s):

Description


rgod has discovered some vulnerabilities in phpCommunityCalendar, which can be exploited by malicious people to conduct cross-site scripting, script insertion, and SQL injection attacks.

1) Some input isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Examples:
* The "Username" parameter in webadmin/login.php
* The "LocationID" parameter in week.php
* The "query" parameter in month.php and day.php
* The "ID" parameter in event.php
* The "CalendarDetailsID" parameter in admin/delCalendar.php
* The "AdminUserID" parameter in admin/delAdmin.php
* The "EventLocationID" parameter in admin/delAddress.php
* The "LocationID" parameter in admin/delCategory.php

Successful exploitation requires that "magic_quotes_gpc" is disabled for some of the parameters. Access to the "admin" directory requires administrative privileges.

2) Input passed to certain fields when adding an event isn't properly sanitised before being used. This can be exploited to inject arbitrary HTML and script code, which will be executed in an administrator's browser session in context of an affected site when the malicious event is viewed when approving events.

3) Input passed to the "LocationID" and "font" parameters in various scripts, and the "CeTi", "Contact", "Description", "AddressLink", and "ShowAddress" parameters in "event.php" isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities have been confirmed in version 4.0.3. Other versions may also be affected.


Solution:
Edit the source code to ensure that input is properly sanitised.

Further details available to Secunia VIM customers

Provided and/or discovered by:
rgod

Additional information provided by X0r_1.

Original Advisory:
http://www.rgod.altervista.org/phpccal.html
http://milw0rm.com/exploits/1818

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: phpCommunityCalendar Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability