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)

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

Scores

EPSS 0.6839
EPSS Percentile 98.6%

Classification

CWE
CWE-287
Status draft

Affected Products (20)

varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
varnish.projects.linpro/varnish
... and 5 more

Timeline

Published Apr 05, 2010
Tracked Since Feb 18, 2026