ONLINE NOW: 30 LAST 24 HOURS: 103
Important: Trouble logging in? Use this link: https://account.huntedcow.com/auth?game=5
| « First | < | 43 | 44 | 45 | 46 | 47 | > | Last » |
All these error messages suck, I'm going to tone back the CSRF protection a bit to fix them. Right now the key changes constantly as you cycle through pages, this seems a little overkill for the problem. As long as you don't go entering the "key=value" from your URL in to any other sites it should be pretty secure with a more static key. I think I'll try just changing it on logins for now, then see if I can write an exploit that will get around it.
I'll be waiting a few days before releasing the source code for the exploit, sorry for the inconvenience of all these error messages. They will be fixed shortly.
I'll be waiting a few days before releasing the source code for the exploit, sorry for the inconvenience of all these error messages. They will be fixed shortly.
If you're wondering where I've been recently in terms of updates, that will all become apparent tomorrow as my 100+ script update syncs over from the development server. Sadly none of these updates are interesting, just a mass security update for CSRF exploits. In the end the original idea of monitoring what scripts people came from fell through as it could be bypassed with the clever use of frames and javascript.
Instead this update will use unique tokens generated on scripts that are about to do something, then passed to the scripts that actually perform the action and checked. This change will mean that you cannot use the back button and then perform most actions. I'll be monitoring how much of an impact this has on players and how often this error occurs over the coming days.
This security fix has required me to manually edit pretty much every script in the game that performs any action. It was very boring, involved thousands of lines of copying and pasting but now it is done. As a result image tags will be re-enabled on forums after this update goes live, I'll also be posting proof of concept code of this exploit to anyone interested or worried that it may effect other sites.
Instead this update will use unique tokens generated on scripts that are about to do something, then passed to the scripts that actually perform the action and checked. This change will mean that you cannot use the back button and then perform most actions. I'll be monitoring how much of an impact this has on players and how often this error occurs over the coming days.
This security fix has required me to manually edit pretty much every script in the game that performs any action. It was very boring, involved thousands of lines of copying and pasting but now it is done. As a result image tags will be re-enabled on forums after this update goes live, I'll also be posting proof of concept code of this exploit to anyone interested or worried that it may effect other sites.
Ok, so the problem I'm having with images is quite complicated. Basically a lot of scripts in this game "do stuff". For example, the script gangs8_1.php when navigated to will make you leave your current gang (this is what I did with my proof of concept exploit). In order to link someone to this script you need to first steal their session ID and then redirect them to the relevant URL, very easy to do if we allow IMG tags on the forums.
My fix for this is to implement code that upon arrival at gangs8_1.php (and the hundred or so other scripts like it) checks the page you came from. So if you did not come from the page leading to it, then it will error. However, this error would also pop up if you used the back button on your browser before clicking a link to do something.
I don't know how often players use the back button when playing my game so I have no idea how inconvenient this fix is going to become. All I can do is implement it and see, this will be done once all the scripts are updated.
My fix for this is to implement code that upon arrival at gangs8_1.php (and the hundred or so other scripts like it) checks the page you came from. So if you did not come from the page leading to it, then it will error. However, this error would also pop up if you used the back button on your browser before clicking a link to do something.
I don't know how often players use the back button when playing my game so I have no idea how inconvenient this fix is going to become. All I can do is implement it and see, this will be done once all the scripts are updated.
The Halloween event draws to a close, somebody did get the answer correct in the early hours of the morning. That person will be announced tomorrow, along with the manual addition of banners to all those who got it correct some time later in the day. Hope you all have a fun Halloween, I'll be back on Monday and working to hopefully get the forum images back up and running.
- Updated by Charlie
- Updated by Charlie
- Updated by Charlie
- Updated by Charlie
