Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One of the simplest issues is that headers end with a newline. Most code will not generate a header with an embedded new line, so it's common that software doesn't handle this case, and passes the new line through unmodified. This means that if someone is able to set a custom value for part of a header they can often use that to inject their own custom response header. Or even their own customer response body, since that is also set off with newlines.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: