3 ms·
CRLF is a security hole. I've actually seen this happen. Proxy interprets line ending one way, like CR CRLF as CRLF CRLF and ignores body. Server sees CRCRLF an
by MichaelGG 11y ago
CRLF is a security hole. I've actually seen this happen. Proxy interprets line ending one way, like CR CRLF as CRLF CRLF and ignores body. Server sees CRCRLF and treats it as CRLF, reads proxy-ignored bits as headers. "Oops."
Though this is more of an artifact of terrible specs and the IETF's silly love affair with "free" text formats. They actually take delight in showing off how crazy the encoding can be.
- JdeBP 11y agoGresham's Law trumps Postel's Principle. * http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/qmail-myths-dispelled.html#MythAboutBareLFs http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/qm...