[Bug 48786] Labs should not be able to trigger Newprojects announcements

2014-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #16 from Krinkle krinklem...@gmail.com ---
*bump*.

Just got another half dozen e-mails through newprojects-l about
beta.wmflabs.org projects (zhwiki, ukwiki, ruwiki, kowiki, jawiki, hiwiki) that
somehow made it using production credentials to this list.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2014-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #17 from Krinkle krinklem...@gmail.com ---
(In reply to Casey Brown from comment #12)
 (In reply to comment #11)
  Depending on what box the email is being sent from it may even match SPF ...
  since I know some of our boxes are on the SPF records. 
  
  Most of the options described in this ticket would actually break the whole
  list (it wouldn't get New Wiki emails from either the cluster OR labs). If 
  we
  can find a good way to fix this just in mailman 'great' (though I haven't
  seen
  an obvious way yet to do so from my brief poking around). It seems the most
  likely angle of attack will be the script.
 
 This. ^
 
 I don't think there's really anything we can do from the mailman angle to
 fix this. The script's really the only way to change this. That being said
 though -- are we sure it's really a problem that labs project creations get
 sent to the list? How often does that happen / will it happen? If it's
 something that happens infrequently, it probably doesn't matter if the list
 gets notifications.

However then what's keeping any old tool labs project from creating wikis
within their project (e.g. not enwiki.beta.wmflabs.org, but
whatever.wmflabs.org/wiki-[001-999]) and for fun also spam this list?

I'm pretty sure something somewhere already ensures that you can't just imitate
someone @wikimedia.org from outside production (e.g. my home computer) and
successfully post to a members-only list like mediawiki-announce.

So why is beta able to imitate w...@wikimedia.org and end up on newprojects-l?
This looks like a security problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2014-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Marc A. Pelletier m...@uberbox.org changed:

   What|Removed |Added

   Assignee|m...@uberbox.org|antoine.mu...@laposte.fr

--- Comment #18 from Marc A. Pelletier m...@uberbox.org ---
It didn't make it to the list using production credentials; posting to the list
doesn't /require/ credentials.

This really can only be fixed on the script side as hashar said in cmt 3 and
13.  (Boldly assigning to him since there's nothing I can do on my side).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2014-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Marc A. Pelletier m...@uberbox.org changed:

   What|Removed |Added

 CC||m...@uberbox.org

--- Comment #19 from Marc A. Pelletier m...@uberbox.org ---
@Krinkle: Nothing; email is not secure and there is no sender verification. 
Anyone can fake From: headers.

 I'm pretty sure something somewhere already ensures that you can't just
 imitate someone @wikimedia.org from outside production (e.g. my home
 computer) and successfully post to a members-only list like 
 mediawiki-announce.

Only insofar, apparently, as it doesn't come from outside our network.

(I've tested it and, at the very least, naive rewriting of the From: header is
filtered).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2014-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #20 from Krinkle krinklem...@gmail.com ---
(In reply to Marc A. Pelletier from comment #19)
 @Krinkle: Nothing; email is not secure and there is no sender verification. 
 Anyone can fake From: headers.
 
  I'm pretty sure something somewhere already ensures that you can't just
  imitate someone @wikimedia.org from outside production (e.g. my home
  computer) and successfully post to a members-only list like 
  mediawiki-announce.
 
 Only insofar, apparently, as it doesn't come from outside our network.
 
 (I've tested it and, at the very least, naive rewriting of the From: header
 is filtered).

But we bypass that filtering when the mail is sent from labs to production?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2014-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #21 from Marc A. Pelletier m...@uberbox.org ---
By design, our relays... relay mail from our network.

This is a bug in the script (that it behaves like production without tweak).

Yes, the possibility of abuse is there -- if someone abuse, we will advise. 
Someone spamming our list is a social problem, not a technical one.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2014-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #22 from Marc A. Pelletier m...@uberbox.org ---
After a trivial test from my home:

http://lists.wikimedia.org/pipermail/newprojects/2014-April/91.html

Labs doesn't factor into it at all; any security provided by checking email
addresses on a mailing list is futile.  The only way you could actually
*prevent* someone from mailing to a list from unauthenticated sources would be
to... authenticate the source which neither SMTP nor mailman does.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2014-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Keywords|easy|

--- Comment #15 from Andre Klapper aklap...@wikimedia.org ---
Coren: Could you take a look at this (or reset assignee to default, if not)?
Thanks in advance!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-09-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Assignee|wikibugs-l@lists.wikimedia. |m...@uberbox.org
   |org |

--- Comment #14 from Andre Klapper aklap...@wikimedia.org ---
Coren: Could you take a look at this (or reset assignee to default, if not)?
Thanks in advance!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-07-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #13 from Antoine hashar Musso has...@free.fr ---
As I said in comment #3, it is just about adapting the notifyNewProjects to
have it using a different email.  We could even make it exist whenever the
detected realm is not production :-]

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-07-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #8 from Casey Brown b...@caseybrown.org ---
It already does that, Daniel. It doesn't accept messages from anyone other than
w...@wikimedia.org. The issue is that the same script and address are used for
labs project creations and regular wiki creations.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-07-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #9 from Alex Monk kren...@gmail.com ---
Well something is going wrong if a labs script can pretend to be a valid
@wikimedia.org address

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-07-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

 CC||m...@everybody.org

--- Comment #10 from Mark A. Hershberger m...@everybody.org ---
(In reply to comment #9)
 Well something is going wrong if a labs script can pretend to be a valid
 @wikimedia.org address

Anyone can pretend have any email address they want.  The problem is the script
creating the email and mailman.  Mailman would have to look at SPF records or
IP addresses to see if the mail was valid and, to my knowledge, that isn't
something Mailman is built to do.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-07-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #12 from Casey Brown b...@caseybrown.org ---
(In reply to comment #11)
 Depending on what box the email is being sent from it may even match SPF ...
 since I know some of our boxes are on the SPF records. 
 
 Most of the options described in this ticket would actually break the whole
 list (it wouldn't get New Wiki emails from either the cluster OR labs). If we
 can find a good way to fix this just in mailman 'great' (though I haven't
 seen
 an obvious way yet to do so from my brief poking around). It seems the most
 likely angle of attack will be the script.

This. ^

I don't think there's really anything we can do from the mailman angle to fix
this. The script's really the only way to change this. That being said though
-- are we sure it's really a problem that labs project creations get sent to
the list? How often does that happen / will it happen? If it's something that
happens infrequently, it probably doesn't matter if the list gets
notifications.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-07-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Daniel Zahn dz...@wikimedia.org changed:

   What|Removed |Added

 CC||dz...@wikimedia.org

--- Comment #7 from Daniel Zahn dz...@wikimedia.org ---
What should be done is to configure this mailing list to discard mail from
non-members, that would be something to contact the list admins about:

Newprojects list run by listadmin at caseybrown.org, listadmin at alexzariv.com

quote 

The GUI setting should be here:

/admin//?VARHELP=privacy/sender/generic_nonmember_action

More generally:

/admin//privacy/sender


-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-07-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

   Priority|Low |Normal
 CC||krinklem...@gmail.com
   Severity|minor   |normal

--- Comment #5 from Krinkle krinklem...@gmail.com ---
http://lists.wikimedia.org/pipermail/newprojects/2013-July/79.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-07-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #6 from Krinkle krinklem...@gmail.com ---
I agree with Alex.

A few considerations:
* Lists should require smtp authentication from @wikimedia.org domains and
reject the fake mail from labs (and if not already, fix the one in production
to use smtp instead of sendmail). Afaik this was already talked about a while
ago for other reasons, surprised it hasn't happened yet.
* Members only list (like -announce, if not already), labs would be able to
send as its e-mailaddress wouldn't be a valid member (I assume Mailman doesn't
allow sending to a member-post-only list by simply faking the From: header to
that of a member).
* Some other means that makes it impossible for a simple bash script running
outside production to spam this list.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-07-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

   Keywords||ops

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-06-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Antoine hashar Musso has...@free.fr changed:

   What|Removed |Added

   Keywords||easy
   Priority|Unprioritized   |Low

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-05-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #3 from Antoine hashar Musso has...@free.fr ---
The addwiki.php script craft a delayed cron job that calls the
notifyNewProjects shell script 15 minutes after the project got created.

The shell is in operations/puppet.git : files/misc/scripts/notifyNewProjects
and has newproje...@lists.wikimedia.org hardcoded in.

Maybe it can be made yet another wg configuration variable which we could set
to a different value on beta.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-05-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Sam Reed (reedy) s...@reedyboy.net changed:

   What|Removed |Added

   Severity|normal  |minor

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-05-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

Alex Monk (Krenair) kren...@gmail.com changed:

   What|Removed |Added

 CC||jforres...@wikimedia.org

--- Comment #1 from Alex Monk (Krenair) kren...@gmail.com ---
*** Bug 48797 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 48786] Labs should not be able to trigger Newprojects announcements

2013-05-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=48786

--- Comment #2 from James Forrester jforres...@wikimedia.org ---
(In reply to comment #1)
 *** Bug 48797 has been marked as a duplicate of this bug. ***

Bah, it wasn't a dupe when I wrote it; I should have pressed save earlier. :-(

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l