CSRF failure on stage after confirming PIN to make a purchase

RESOLVED FIXED in 2013-04-25

Status

P1
normal
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: kumar, Assigned: kumar)

Tracking

2013-04-25
x86
Mac OS X
Points:
---

Details

Attachments

(3 attachments)

Created attachment 740690 [details]
csrf-http.log

STR
- purchase app
- enter new email
- enter PIN
- confirm PIN

This doesn't happen after flashing and does not always happen. Attached is a log that shows HTTP requests/responses
This is on stage only
Summary: CSRF failure after confirming PIN to make a purchase → CSRF failure on stage after confirming PIN to make a purchase
New evidence: this happens in relation to specific persona emails. David kept seeing a CSRF even after re-flashing. When he switched persona emails it worked. I added a new http log with his failure.
Duplicate of this bug: 833678

Updated

6 years ago
Blocks: 775802

Comment 6

6 years ago
andy, please don't hate me :)
Assignee: nobody → amckay
Assignee: amckay → nobody
How often do you see this?  Any more you can tell us?
pretty often.  Happened to me about 5 times yesterday.  Kumar reflashed my phone and I needed to create a new persona account to fix.  Happened also to others.  So this is a very high priority.  If there are further logs we can capture here, let us know.

Comment 9

6 years ago
I have rebooted my phone and still had this problem
We've only ever seen this on the stage site and I can't find any problem with the HTML form. Perhaps one machine in the server cluster isn't set up for sessions right or something like that. At first we thought it was related to specific persona accounts but that may not be true.
Sessions are all cookie based now.  If you have something you want to test specifically let's CC Jason, I'm just not sure what to ask him based on comment 10
they aren't cookie based on webpay. They're still memcache in webpay which I think is the reason why it's failing on stage (more nodes). Jason and I are looking at it.
Assignee: nobody → kumar.mcmillan
Priority: -- → P1
Target Milestone: --- → 2013-04-25
thanks jason! From IRC, this was the issue:

jason: for stage we have two memcached hosts
jason: one of the memcached nodes kept restarting the memcached service
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
cookie sessions (bug 871850) should prevent this from happening in the future
You need to log in before you can comment on or make changes to this bug.