Bug 4706 - Big hole in crond
Summary: Big hole in crond
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: crontabs   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 1999-08-25 18:16 UTC by tymm
Modified: 2008-05-01 15:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-10 22:01:03 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description tymm 1999-08-25 18:16:12 UTC
cron_popen is very very trusting, and has multiple problems:

1) for fun, on a system not accepting mail, set
MAILTO=" -bd" and put in an entry like * * * * * ls
wait a minute, and ps -ax | grep sendmail... Now try using
your imagination.

2) there's an overflowable buffer where if you put more than
100 space-seperated items into MAILTO, you get a nice segv.
Looks quite exploitable.

Comment 1 Bill Nottingham 1999-08-25 19:52:59 UTC
Preliminary patch sent - look sane?

Comment 2 Bill Nottingham 1999-08-27 20:35:59 UTC
fixed in errata.

Note You need to log in before you can comment on or make changes to this bug.