note 87480 added to security.variables
| From: | SneakyWho_am_i at osu1 dot php dot net | Date: | Sat, 06 Dec 2008 20:04:57 +0000 |
| Subject: | note 87480 added to security.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-147758@lists.php.net to get a copy of this message | ||
@f dot zijlstra:
Actually the shared secret is a very good way to prevent many kinds of cross site request forgery
and such. If your site accepts HTTP GET submissions for actions that change things on the server,
and doesn't have a shared secret, then I can combine these two vulnerabilities to modify your
logged in users's accounts just by showing them images or iframes. By using tinyurl I can
completely conceal the attack in source code.
NoScript won't protect your users from this kind of attack.
With the "easysecure" thing, the unique id is stored as a session variable and therefore
only sent to the one user. How am I going to obtain it? Why, I'll need a copy of the document
that you sent only to your user. This would require some cache trick or a man-in-the-middle attack.
Even if I somehow got the unique ID (which only you and your client know) I'd then need to
hijack the client's session to use it.
Basically there's no way that I can create a fake copy of the form, no way that you will accept
data that I generate for my victim to send. It is a good way to prevent me from tricking your users
into sending arbitrary data and making changes to their accounts.
----
Server IP: 69.147.83.197
Probable Submitter: 125.236.211.165
----
Manual Page -- http://www.php.net/manual/en/security.variables.php
Edit -- https://master.php.net/note/edit/87480
Del: integrated -- https://master.php.net/note/delete/87480/integrated
Del: useless -- https://master.php.net/note/delete/87480/useless
Del: bad code -- https://master.php.net/note/delete/87480/bad+code
Del: spam -- https://master.php.net/note/delete/87480/spam
Del: non-english -- https://master.php.net/note/delete/87480/non-english
Del: in docs -- https://master.php.net/note/delete/87480/in+docs
Del: other reasons-- https://master.php.net/note/delete/87480
Reject -- https://master.php.net/note/reject/87480
Search -- https://master.php.net/manage/user-notes.php