Block can exposes user's email to other users

amanuel - December 23, 2008 - 15:27
Project:Spread
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

if block caching is on, some users are able to see other users email addresses. While I personally didn't see this happen, during traffic spikes we did get enough emails to turn the module off until we did something about it.

My recommendation is to not have the from field.

thoughts?

#1

jchatard - January 8, 2009 - 08:26

Hi,

Really sorry for the long waiting response. If we remove the From field, we no longer let anonymous users spread?

Is that really what we want?
Jérémy

#2

jchatard - May 11, 2009 - 07:13
Status:active» won't fix

I need more info on this!

#3

amanuel - May 28, 2009 - 20:57

I also experienced this during traffic spikes as drupal tries to cache the blocks.

We should perhaps not have the from email showing when the user is logged in instead just displaying their username/display name.

This may have ramifications to the cached block still...but at least it will not expose emails. We would have to investigate the block caching process to see how we can make sure that right block is cached for the right user.

#4

amanuel - May 28, 2009 - 20:58

lol I reported this issue....it really has been that long.

#5

jchatard - May 29, 2009 - 06:55
Status:won't fix» active

Hi amanuel,

Do you have more info on this?

Can you try the small patch attached which set Spread block to not cache?

Hope this helps.
Jérémy

AttachmentSize
spread-nocache.diff 247 bytes

#6

amanuel - June 16, 2009 - 20:26

Jérémy,

That's a great idea to fix the issue. I've implemented it and seems to be ok now

privatemsg has had some block issue as well and used the same solution to fix it. see http://drupal.org/node/370937

I'd commit this patch and close this issue.

I will come back here to let you know if the problem recurrs....I suspect it won't.

Thanks again.

#7

jchatard - July 7, 2009 - 07:06
Status:active» fixed

Commited patch thanks for the report.

Jérémy

#8

System Message - July 21, 2009 - 07:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.