Closed (won't fix)
Project:
Vote Up/Down
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2008 at 11:38 UTC
Updated:
11 Jun 2010 at 18:36 UTC
Somebody can post a content with a "img" tag and use "src" like "http://www.domain.com/vote_up_down/node//1/1"/>
So each user who has voting permissions and who will look this content will vote up for the node automatically.
seems it's a urgent security problem.
Comments
Comment #1
habralex commentedSomebody can post a content with a "img" tag and use "src" like "http://www.domain.com/vote_up_down/node/"node id"/1/1"/>
So each user who has voting permissions and who will look this content will vote up for the node ("node id") automatically.
seems it's a urgent security problem.
Comment #2
stephencarr commentedDoes anyone have any ideas how to fix this? Seems like each vote needs to carry a token or some kind of unique hash that is generated and will work only once. I am not a developer so I don't really know how to solve the problem but it does seem like an important one to fix.
Comment #3
Akzhan@drupal.ru commentedAnother point of view to the problem: Smb. can add img with src eq to /site/user/logout/
Checking of %ENV['HTTP_REFERRER'] provides the solution.
Comment #4
Akzhan@drupal.ru commentedAdditional comment using mention of XSS-blocking specialist:
For logout and captcha forms GET method is devil.
Comment #5
Krummrey commentedSo is this still active?
Maybe the Security-Team ought to look at this for help.
Comment #6
marvil07 commentedPlease take a look to the update on the project page, now
5.xis not-really-maintained.If you think your report is still applicably to the last recommended version(
6.x-2.x) please move the version accordingly and reopen it, but there we use tokens on links, so it's solved there.