Apple Safari before 3.2.2 processes a 3xx HTTP CONNECT response before a successful SSL handshake, which allows man-in-the-middle attackers to execute arbitrary web script, in an https site\'s context, by modifying this CONNECT response to specify a 302 redirect to an arbitrary https web site.