public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* wiki on linixtv.org locked
@ 2009-04-27 16:43 H. Langos
  2009-04-27 17:37 ` Johannes Stezenbach
  0 siblings, 1 reply; 7+ messages in thread
From: H. Langos @ 2009-04-27 16:43 UTC (permalink / raw)
  To: linux-media

Hi there,

Yesterday a stupid kid vandalized a bunch of pages on the linuxtv wiki and 
a sysop locked to database to undo the damage. 

I would have preferred to undo that damage by simply taking a look at 
the users contribution page and using the handy-dandy undo function as a
mere wiki user. 

It would have deprived that individual the satifaction of gaining the 
sysop's attention with his anti-social behavior, but thats probably a 
policy decision that is not mine to make.

Anyway .. Now, after about 24h the wiki is still locked.
Any reason for that?

cheers
-henrik

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: wiki on linixtv.org locked
  2009-04-27 16:43 wiki on linixtv.org locked H. Langos
@ 2009-04-27 17:37 ` Johannes Stezenbach
  2009-04-27 20:29   ` H. Langos
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Stezenbach @ 2009-04-27 17:37 UTC (permalink / raw)
  To: H. Langos; +Cc: linux-media

On Mon, Apr 27, 2009 at 06:43:21PM +0200, H. Langos wrote:
> 
> Yesterday a stupid kid vandalized a bunch of pages on the linuxtv wiki and 
> a sysop locked to database to undo the damage. 
> 
> I would have preferred to undo that damage by simply taking a look at 
> the users contribution page and using the handy-dandy undo function as a
> mere wiki user. 
> 
> It would have deprived that individual the satifaction of gaining the 
> sysop's attention with his anti-social behavior, but thats probably a 
> policy decision that is not mine to make.

The damage was done by a bot script and it affected as many pages
as the edit rate limiter would allow it to do until I noticed it.
If you search for "GRAWP'S MASSIVE" you'll see this is not
limited to linuxtv.org.

> Anyway .. Now, after about 24h the wiki is still locked.
> Any reason for that?

It is locked until I had time to take measures to prevent
similar damage from happening again right away. I'm
open to suggestions if someone has experience with this.


Johannes

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: wiki on linixtv.org locked
  2009-04-27 17:37 ` Johannes Stezenbach
@ 2009-04-27 20:29   ` H. Langos
  2009-04-27 22:14     ` Johannes Stezenbach
  0 siblings, 1 reply; 7+ messages in thread
From: H. Langos @ 2009-04-27 20:29 UTC (permalink / raw)
  To: Johannes Stezenbach; +Cc: linux-media

hi johannes,

thank you for your quick reply.

On Mon, Apr 27, 2009 at 07:37:41PM +0200, Johannes Stezenbach wrote:
> On Mon, Apr 27, 2009 at 06:43:21PM +0200, H. Langos wrote:
> > 
> > Yesterday a stupid kid vandalized a bunch of pages on the linuxtv wiki and 
> > a sysop locked to database to undo the damage. 
> ...
> The damage was done by a bot script and it affected as many pages
> as the edit rate limiter would allow it to do until I noticed it.
> If you search for "GRAWP'S MASSIVE" you'll see this is not
> limited to linuxtv.org.

ah, ok ..  so it is a stupid kid with scripting knowledge. :-)

> > Anyway .. Now, after about 24h the wiki is still locked.
> > Any reason for that?
> 
> It is locked until I had time to take measures to prevent
> similar damage from happening again right away. I'm
> open to suggestions if someone has experience with this.

first of all. please, replace "sigh..." with a more informative locking
message. 

the next step would be to update the mediwiki software to 1.11.1 if you have
$wgEnableAPI = true, that is. (i know it is only a XSS that hits internet 
explorer users ..  but hey, they are people, too ;-)

if i remember right, the linuxtv wiki only allows editing to registered 
users. therefore you could simply temporarily disable new user registration
and enable editing again for registered users.

then i'd suggest installing the reCAPTCHA extention. not only will it
prevent bots from registering, you also help to digitize old books.

http://recaptcha.net/plugins/mediawiki/

with that in place you can re-enable new user registration. you can even 
make logins optional and require captcha solving for anonymous edits. this
would probably improve the wiki in general as new users would not jump through 
yet another loop just in order to help other users... i know, new users can
cost more time than they are worth but hope springs eternaly :-)

cheers
-henrik



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: wiki on linixtv.org locked
  2009-04-27 20:29   ` H. Langos
@ 2009-04-27 22:14     ` Johannes Stezenbach
  2009-04-27 23:21       ` H. Langos
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Stezenbach @ 2009-04-27 22:14 UTC (permalink / raw)
  To: H. Langos; +Cc: linux-media

On Mon, Apr 27, 2009 at 10:29:25PM +0200, H. Langos wrote:
> 
> the next step would be to update the mediwiki software to 1.11.1 if you have
> $wgEnableAPI = true, that is. (i know it is only a XSS that hits internet 
> explorer users ..  but hey, they are people, too ;-)

I will update to 1.14.0. This is the current version, and it is
also used by wiki.kernel.org (there is a secret plan to eventually
move the wiki there). And all the shiny new anti-spam extensions
don't seem to work with 1.11 anymore...

> if i remember right, the linuxtv wiki only allows editing to registered 
> users. therefore you could simply temporarily disable new user registration
> and enable editing again for registered users.

I will do the update first.

> then i'd suggest installing the reCAPTCHA extention. not only will it
> prevent bots from registering, you also help to digitize old books.
> 
> http://recaptcha.net/plugins/mediawiki/

Looked at that and noticed they don't provide any statement
regarding confidentiality / data protection. Who knows if
they aren't creating a huge database of who did what in Wikis
and Blogs around the net...

Besides that, this wouldn't have stopped the present attack
since the bot used does a manual login assisted by a human user.
To thwart that I'd have to enable the captcha for every page save...


Johannes

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: wiki on linixtv.org locked
  2009-04-27 22:14     ` Johannes Stezenbach
@ 2009-04-27 23:21       ` H. Langos
  2009-04-28  8:20         ` Johannes Stezenbach
  0 siblings, 1 reply; 7+ messages in thread
From: H. Langos @ 2009-04-27 23:21 UTC (permalink / raw)
  To: Johannes Stezenbach; +Cc: linux-media

On Tue, Apr 28, 2009 at 12:14:16AM +0200, Johannes Stezenbach wrote:
> On Mon, Apr 27, 2009 at 10:29:25PM +0200, H. Langos wrote:
> > 
> > the next step would be to update the mediwiki software to 1.11.1 if you have
> > $wgEnableAPI = true, that is. (i know it is only a XSS that hits internet 
> > explorer users ..  but hey, they are people, too ;-)
> 
> I will update to 1.14.0. This is the current version, and it is
> also used by wiki.kernel.org (there is a secret plan to eventually
> move the wiki there). And all the shiny new anti-spam extensions
> don't seem to work with 1.11 anymore...

reCAPTCHA seems to work with anything newer than 1.7.
 
> > if i remember right, the linuxtv wiki only allows editing to registered 
> > users. therefore you could simply temporarily disable new user registration
> > and enable editing again for registered users.
> 
> I will do the update first.
> 
> > then i'd suggest installing the reCAPTCHA extention. not only will it
> > prevent bots from registering, you also help to digitize old books.
> > 
> > http://recaptcha.net/plugins/mediawiki/
> 
> Looked at that and noticed they don't provide any statement
> regarding confidentiality / data protection. Who knows if
> they aren't creating a huge database of who did what in Wikis
> and Blogs around the net...

I'd rather take a look at the code to see what kind of data is sent
off-site. My guess is that there isn't any identification data involved at
all. but you are right. they could add that to their faq. 
OTAH they are a university project and probably didn't approach the whole
thing with sufficient paranoia to think about such a question ;-)

> Besides that, this wouldn't have stopped the present attack
> since the bot used does a manual login assisted by a human user.
> To thwart that I'd have to enable the captcha for every page save...

hmm, manualy asisted bots are nasty. but maybe there is a way to lower the
limit of edits that can be done automatically. maybe a soft limit that would
trigger captcha usage way before hitting the hard limit that stoped the bot
this time....

cheers
-henrik


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: wiki on linixtv.org locked
  2009-04-27 23:21       ` H. Langos
@ 2009-04-28  8:20         ` Johannes Stezenbach
  2009-04-28  8:25           ` H. Langos
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Stezenbach @ 2009-04-28  8:20 UTC (permalink / raw)
  To: H. Langos; +Cc: linux-media

On Tue, Apr 28, 2009 at 01:21:51AM +0200, H. Langos wrote:
> On Tue, Apr 28, 2009 at 12:14:16AM +0200, Johannes Stezenbach wrote:
> > On Mon, Apr 27, 2009 at 10:29:25PM +0200, H. Langos wrote:
> > > 
> > > if i remember right, the linuxtv wiki only allows editing to registered 
> > > users. therefore you could simply temporarily disable new user registration
> > > and enable editing again for registered users.
> > 
> > I will do the update first.

...and of course I ran into problems when updating the extensions,
and then ran out of time. So for the moment I followed your suggestion
and enabled editing but disabled account creation.


Johannes

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: wiki on linixtv.org locked
  2009-04-28  8:20         ` Johannes Stezenbach
@ 2009-04-28  8:25           ` H. Langos
  0 siblings, 0 replies; 7+ messages in thread
From: H. Langos @ 2009-04-28  8:25 UTC (permalink / raw)
  To: Johannes Stezenbach; +Cc: linux-media

On Tue, Apr 28, 2009 at 10:20:25AM +0200, Johannes Stezenbach wrote:
> On Tue, Apr 28, 2009 at 01:21:51AM +0200, H. Langos wrote:
> > On Tue, Apr 28, 2009 at 12:14:16AM +0200, Johannes Stezenbach wrote:
> > > On Mon, Apr 27, 2009 at 10:29:25PM +0200, H. Langos wrote:
> > > > 
> > > > if i remember right, the linuxtv wiki only allows editing to registered 
> > > > users. therefore you could simply temporarily disable new user registration
> > > > and enable editing again for registered users.
> > > 
> > > I will do the update first.
> 
> ...and of course I ran into problems when updating the extensions,
> and then ran out of time. So for the moment I followed your suggestion
> and enabled editing but disabled account creation.

Thank you very much!
I already started working again.

cheers
-henrik

BTW: Is there a namespace for experiments? Something equivalent to the
Sandbox web in TWiki ? ( A single page will not do as I need to test
templates/includes )


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-28  8:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-27 16:43 wiki on linixtv.org locked H. Langos
2009-04-27 17:37 ` Johannes Stezenbach
2009-04-27 20:29   ` H. Langos
2009-04-27 22:14     ` Johannes Stezenbach
2009-04-27 23:21       ` H. Langos
2009-04-28  8:20         ` Johannes Stezenbach
2009-04-28  8:25           ` H. Langos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox