Closed
Bug 331310
Opened 19 years ago
Closed 18 years ago
cvsmailfilter.pl sends email in an unreliable way
Categories
(Webtools Graveyard :: Despot, defect)
Webtools Graveyard
Despot
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dbaron, Assigned: reed)
References
Details
Attachments
(1 file, 1 obsolete file)
2.66 KB,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
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.
Updated•19 years ago
|
Group: security → webtools-security
Updated•19 years ago
|
Assignee: server-ops → nobody
Component: Server Operations → Server Operations Projects
Assignee | ||
Updated•18 years ago
|
OS: Linux → All
Hardware: PC → All
Assignee | ||
Comment 1•18 years ago
|
||
Swap to using Mail::Mailer, but leave $use_sendmail as 0, as sendmail isn't in the jail.
Assignee: nobody → reed
Status: NEW → ASSIGNED
Comment 2•18 years ago
|
||
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.
Assignee | ||
Comment 3•18 years ago
|
||
Ugh, this is the patch.
Attachment #254775 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Component: Server Operations: Projects → Despot
Product: mozilla.org → Webtools
QA Contact: justin → despot
Assignee | ||
Updated•18 years ago
|
Attachment #254777 -
Flags: review?(justdave)
Comment 4•18 years ago
|
||
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+
Comment 5•18 years ago
|
||
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
Updated•18 years ago
|
Group: webtools-security
Assignee | ||
Updated•18 years ago
|
Attachment #254775 -
Attachment description: patch - v1 → wrong file
Attachment #254775 -
Attachment is patch: false
Updated•9 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•