Bsdmainutils Calendar Information Disclosure Vulnerability

BID:11077

Info

Bsdmainutils Calendar Information Disclosure Vulnerability

Bugtraq ID: 11077
Class: Access Validation Error
CVE: CVE-2004-0793
Remote: No
Local: Yes
Published: Aug 31 2004 12:00AM
Updated: Jul 12 2009 07:06AM
Credit: Steven Van Acker <[email protected]> disclosed this vulnerability.
Vulnerable: Debian bsdmainutils 6.0.14
Not Vulnerable: Debian bsdmainutils 6.0.15

Discussion

Bsdmainutils Calendar Information Disclosure Vulnerability

The calendar utility contained in the bsdmainutils package on Debian GNU/Linux systems is reported susceptible to an information disclosure vulnerability. This is due to a lack of proper file authorization checks by the application.

The application fails to enforce permissions of included files when run as the superuser with the '-a' argument, therefore it is possible for a local attacker to create a calendar file that will disclose the contents of arbitrary, potentially sensitive files. This may aid them in further attacks against the affected computer.

By default, the package is installed with a crontab file that will not call the calendar utility. Systems are only affected if the crontab is enabled by administrators.

Debian GNU/Linux computers with bsdmainutils versions prior to 6.0.15 are reported to be vulnerable.

Exploit / POC

Bsdmainutils Calendar Information Disclosure Vulnerability

An exploit is not required. An example calendar file sufficient to exploit this vulnerability was provided. This file would likely be located in '~/.calendar/calendar':

#define root Jun. 28&lt;tab&gt;cut_here
#include &lt;/etc/shadow&gt;
Jun. 28&lt;tab&gt;Birthday of Steven Van Acker
Aug. 19&lt;tab&gt;Birthday of Andrew Griffith

(where &lt;tab&gt; should be replaced by an actual Tab character)

Solution / Fix

Bsdmainutils Calendar Information Disclosure Vulnerability

Solution:
Debian has released version 6.0.15 of bsdmainutils for the unstable branch. Users of affected packages are urged to use Debians package management utilities to upgrade to the latest version of bsdmainutils.

References

Bsdmainutils Calendar Information Disclosure 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