News for hackers. Stuff that matters.
Re:I just discovered major security flaws in my web store by tedunangst on Thursday July 28, 2011 @10:04AM (#2816821)
Is HTTP header just a codeword for cookie? How does a website get the browser to send custom headers?
Re:I just discovered major security flaws in my web store by midnightmonster on Thursday July 28, 2011 @10:19AM (#2816875)
HTTP header is code for "POST data".
Re:I just discovered major security flaws in my web store by tedunangst on Thursday July 28, 2011 @12:37PM (#2817604)
That makes sense. It was worth the negative karma to solve the mystery. :)
Re:I just discovered major security flaws in my web store by cheez on Thursday July 28, 2011 @11:55AM (#2817397)
Oh god, thanks. I was confused about this new-fangled technique of using "HTTP headers" to pass pricing information...
Re:I just discovered major security flaws in my web store by jivejones on Thursday July 28, 2011 @11:56AM (#2817404)
With PHP you can create the headers at the top of the page, with python you can create a 'script' that sends custom headers to a server, thus you could tell the server that its a image via the headers but it could be something different ie a script... Any good developer will look out for this stuff though.
Re:I just discovered major security flaws in my web store by tedunangst on Thursday July 28, 2011 @12:33PM (#2817581)
So how does the website get my browser to run a python script?

According to the article, this was supposed to work for normal users, not people hacking the server.

Re:I just discovered major security flaws in my web store by jivejones on Sunday July 31, 2011 @01:46PM (#2828957)
All I meant to say was that its easy to send custom headers to a server.

If you are using PHP:

http://php.net/manual/en/function.header.php

Re:I just discovered major security flaws in my web store by yahelc on Thursday July 28, 2011 @10:14AM (#2816853)
You can send custom HTTP headers from the browser with XMLHTTPRequest, commonly referred to as AJAX. Not totally sure if this is what the poster is referring to, but its possible.
Re:I just discovered major security flaws in my web store by tedunangst on Thursday July 28, 2011 @12:30PM (#2817576)
ok, I didn't think a payment processor would be using a cross domain xmlhttprequest, but I don't know a lot about it.