Fundamentals of Browser Exploitation