A drive-by infection, or drive-by download, occurs when attackers exploit a vulnerability in a web server to plant malicious code on a website. Users who browse the pages of that website are exposed to possible infection, because the code exploits vulnerabilities in the web browser or its plugins.
(SI-CERT, Network Security Report 2013, p. 26)