[38250] in bugtraq
Re: crontab from vixie-cron allows read other users crontabs
daemon@ATHENA.MIT.EDU (Richard Moore)
Wed Apr 6 14:23:28 2005
Message-ID: <425413A2.5020604@westpoint.ltd.uk>
Date: Wed, 06 Apr 2005 17:51:46 +0100
From: Richard Moore <rich@westpoint.ltd.uk>
MIME-Version: 1.0
To: =?ISO-8859-2?Q?Karol_Wi=EAsek?= <appelast@drumnbass.art.pl>
Cc: full-disclosure@lists.grok.org.uk, bugtraq@securityfocus.com
In-Reply-To: <4253B350.8000903@drumnbass.art.pl>
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8bit
Karol Wiêsek wrote:
> but also checks entrys, so attacker is only able to read properly
> formated crontab files (another users crontabs).
It should be noted that files other than crontabs are valid
files as far as cron is concerned. This is because crontabs
may contain variable assignments and comments. This means
that it may be possible to read other configuration files
or scripts that confirm to the syntax used by cron.
Cheers
Rich.
--
Richard Moore, Principle Software Engineer,
Westpoint Ltd,
Albion Wharf, 19 Albion Street, Manchester, M1 5LN, England
Tel: +44 161 237 1028
Fax: +44 161 237 1031