CVE-2009-2936

Varnish - Authentication Bypass

Title source: rule

Description

The Command Line Interface (aka Server CLI or administration interface) in the master process in the reverse proxy server in Varnish before 2.1.0 does not require authentication for commands received through a TCP port, which allows remote attackers to (1) execute arbitrary code via a vcl.inline directive that provides a VCL configuration file containing inline C code; (2) change the ownership of the master process via param.set, stop, and start directives; (3) read the initial line of an arbitrary file via a vcl.load directive; or (4) conduct cross-site request forgery (CSRF) attacks that leverage a victim's location on a trusted network and improper input validation of directives. NOTE: the vendor disputes this report, saying that it is "fundamentally misguided and pointless.

Exploits (3)

exploitdb WORKING POC
by Patrick Webster · rubyremotelinux
https://www.exploit-db.com/exploits/35581
metasploit WORKING POC
by patrick, h00die <[email protected]> · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/varnish/varnish_cli_file_read.rb
metasploit SCANNER
by aushack, h00die <[email protected]> · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/varnish/varnish_cli_login.rb

Scores

EPSS 0.6839
EPSS Percentile 98.6%

Details

CWE
CWE-287
Status published
Products (17)
varnish.projects.linpro/varnish 0.9
varnish.projects.linpro/varnish 0.9.1
varnish.projects.linpro/varnish 1.0
varnish.projects.linpro/varnish 1.0.1
varnish.projects.linpro/varnish 1.0.2
varnish.projects.linpro/varnish 1.0.3
varnish.projects.linpro/varnish 1.0.4
varnish.projects.linpro/varnish 1.1
varnish.projects.linpro/varnish 1.1.1
varnish.projects.linpro/varnish 1.1.2
... and 7 more
Published Apr 05, 2010
Tracked Since Feb 18, 2026