TITLE:
WebCalendar SQL Injection and Local File Overwrite Vulnerabilities

SECUNIA ADVISORY ID:
SA17784

VERIFY ADVISORY:
http://secunia.com/advisories/17784/

CRITICAL:
Less critical

IMPACT:
Manipulation of data

WHERE:
>From remote

SOFTWARE:
WebCalendar 1.x
http://secunia.com/product/5606/

DESCRIPTION:
Francesco "aScii" Ongaro has reported some vulnerabilities in
WebCalendar, which can be exploited by malicious users to manipulate
certain information and conduct SQL injection attacks.

1) Some input passed in "activity_log.php", "admin_handler.php",
"edit_template.php", and "export_handler.php" isn't properly
sanitised before being used in a SQL query. This can be exploited to
manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed to the "id" and "format" parameters in
"export_handler.php" isn't properly verified, before it is used to
save data files. This can be exploited to overwrite other saved data
files.

The vulnerabilities have been reported in version 1.0.1. Other
versions may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised and
verified.

PROVIDED AND/OR DISCOVERED BY:
Francesco "aScii" Ongaro

ORIGINAL ADVISORY:
http://www.ush.it/2005/11/28/webcalendar-multiple-vulnerabilities/

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

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

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

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

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