Closed Bug 331310 Opened 19 years ago Closed 18 years ago

cvsmailfilter.pl sends email in an unreliable way

Categories

(Webtools Graveyard :: Despot, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dbaron, Assigned: reed)

References

Details

Attachments

(1 file, 1 obsolete file)

cvsmailfilter.pl has its email sending code copied from dolog.pl in bonsai, on which I just filed bug 331309. Given how much this mechanism is used to monitor checkins, unreliababity that can be triggered by an outside attacker should be considered a security hole (although it's only against committers, who we at least sort of trust). cvsmailfilter.pl should be patched on our cvs servers when bug 331309 is fixed.
No longer depends on: 331309
Depends on: 331309
No longer depends on: 331309
Depends on: 331309
Group: security → webtools-security
Assignee: server-ops → nobody
Component: Server Operations → Server Operations Projects
OS: Linux → All
Hardware: PC → All
Attached file wrong file (obsolete) —
Swap to using Mail::Mailer, but leave $use_sendmail as 0, as sendmail isn't in the jail.
Assignee: nobody → reed
Status: NEW → ASSIGNED
fwiw, the method used on bug 331309 never got implemented in production and won't work here either. sendmail is not installed in the chroot jail, and wouldn't have any access to the system-level mail spool if it was. Since we run chrooted, we have no choice but to use SMTP. a) This isn't as big an issue as it used to be because 90% of the services on rheet have been moved elsewhere, and the primary cvs server doesn't run anything else but cvs, so we haven't run into any load issues on either of those machines in months. b) We could presumably fix this by having both scripts smtp to smtp.mozilla.org instead of to localhost.
Ugh, this is the patch.
Attachment #254775 - Attachment is obsolete: true
Component: Server Operations: Projects → Despot
Product: mozilla.org → Webtools
QA Contact: justin → despot
Attachment #254777 - Flags: review?(justdave)
Comment on attachment 254777 [details] [diff] [review] patch - v1 (the actual patch) yeah, looks like the same thing we did to dolog.pl pretty much (which caused a lot of grief when it went live because we didn't have Mail::Mailer in the jail. :)
Attachment #254777 - Flags: review?(justdave) → review+
Checking in cvsmailfilter.pl; /cvsroot/CVSROOT/cvsmailfilter.pl,v <-- cvsmailfilter.pl new revision: 1.12; previous revision: 1.11 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Group: webtools-security
Attachment #254775 - Attachment description: patch - v1 → wrong file
Attachment #254775 - Attachment is patch: false
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: