Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 4706 - Big hole in crond
Summary: Big hole in crond
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: crontabs
Version: 6.0
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2001-04-10 22:01:03 UTC


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.