Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 May 2015 at 15:14 UTC
Updated:
1 Jul 2015 at 02:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
cashwilliams commentedComment #2
gregglesAs far as I can tell this is reflected XSS that requires no interaction or permissions to trigger.
Feels more like a critical.
Comment #3
twistor commentedAlright, changed things around a bit. The pubsubhubbub standard has changed quite a bit. verify_token is gone. This patch makes the logic much easier to understand.
Uses drupal_random_key(40) for the hmac secret.
check_plains() the challenge. <- This should solve the problem. From what I can tell, there aren't any restrictions on what the verify token can be, but this is the only way to fix the problem.
I have never looked at this code, ugh.
Comment #5
twistor commentedBumping to dev, since that bug that broke the test is already fixed.
Working on a test to verify the fix. Once it's done, I'll make a special release with just this patch in it.
Comment #7
twistor commentedComment #9
klausiNo direct print_r of $_GET anymore, looks good from a visual review.
Comment #11
twistor commented