Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keep getting "CSRF detected!"
#25
Turning off CSRF via gsconfig.php does work when using SVN version.

Also found what is probably the cause of the error... my IP address can occasionally change (depending on which internet gateway I am going through). Since the IP address is used to generate the nonce, then the CSRF error occurs if it ever changes.

Perhaps other people who have this issue belong to a large network where they go through various proxies and gateways to connect to the internet and it changes since you connect through the one with the most capacity available. It would also explain why you can't replicate the problem.

Since it is for preventing cross site scripting attacks, maybe the nonce could use something unique on the server? A server variable like
Code:
$_SERVER["SCRIPT_FILENAME"]
which will be unique for each website and can't be retrieved without having direct access to the server
-- Sam
Reply


Messages In This Thread
Keep getting "CSRF detected!" - by todoesverso - 2011-04-17, 01:25:12
Keep getting "CSRF detected!" - by Connie - 2011-04-17, 01:37:53
Keep getting "CSRF detected!" - by todoesverso - 2011-04-17, 01:49:19
Keep getting "CSRF detected!" - by mikeh - 2011-04-17, 04:54:47
Keep getting "CSRF detected!" - by todoesverso - 2011-04-17, 07:22:22
Keep getting "CSRF detected!" - by nitsuj - 2011-04-20, 05:26:56
Keep getting "CSRF detected!" - by snooze - 2011-04-20, 09:37:11
Keep getting "CSRF detected!" - by Connie - 2011-04-20, 14:53:06
Keep getting "CSRF detected!" - by nitsuj - 2011-04-20, 17:31:26
Keep getting "CSRF detected!" - by Connie - 2011-04-20, 18:56:24
Keep getting "CSRF detected!" - by nitsuj - 2011-04-20, 20:45:52
Keep getting "CSRF detected!" - by Connie - 2011-04-20, 21:16:44
Keep getting "CSRF detected!" - by snooze - 2011-04-27, 03:33:38
Keep getting "CSRF detected!" - by snooze - 2011-04-27, 03:42:28
Keep getting "CSRF detected!" - by Connie - 2011-04-27, 04:42:27
Keep getting "CSRF detected!" - by Aron - 2011-04-27, 07:59:16
Keep getting "CSRF detected!" - by ccagle8 - 2011-04-27, 10:54:10
Keep getting "CSRF detected!" - by snooze - 2011-04-28, 01:12:31
Keep getting "CSRF detected!" - by ccagle8 - 2011-04-28, 01:29:47
Keep getting "CSRF detected!" - by snooze - 2011-04-28, 04:58:16
Keep getting "CSRF detected!" - by Aron - 2011-04-29, 06:39:49
Keep getting "CSRF detected!" - by ccagle8 - 2011-04-29, 23:49:57
Keep getting "CSRF detected!" - by SamWM - 2011-05-06, 21:17:34
Keep getting "CSRF detected!" - by ccagle8 - 2011-05-06, 22:43:05
Keep getting "CSRF detected!" - by SamWM - 2011-05-28, 01:52:33
Keep getting "CSRF detected!" - by RobA - 2011-05-28, 02:43:19
Keep getting "CSRF detected!" - by SamWM - 2011-06-10, 19:06:16
Keep getting "CSRF detected!" - by yojoe - 2011-06-10, 23:41:44
Keep getting "CSRF detected!" - by SamWM - 2011-06-11, 02:42:26
Keep getting "CSRF detected!" - by Ampersand - 2012-02-03, 05:16:15
Keep getting "CSRF detected!" - by Connie - 2012-02-03, 16:27:35
Keep getting "CSRF detected!" - by Ampersand - 2012-02-10, 04:09:42
Keep getting "CSRF detected!" - by shawn_a - 2012-02-11, 04:47:00
Keep getting "CSRF detected!" - by bugmenot - 2012-04-03, 15:21:47
Keep getting "CSRF detected!" - by Connie - 2012-04-03, 16:33:41
Keep getting "CSRF detected!" - by rfuller - 2012-04-04, 03:00:46



Users browsing this thread: 5 Guest(s)