CVE-2009-2936
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 requ…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Varnish Cache CLI Interface - Remote Code Execution (Metasploit)2014-12-19 · remote · linux
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Varnish.Projects.Linpro | Varnish | Versions 0.9, 0.9.1, 1.0, 1.0.1, 1.0.2, 1.0.3 |
Weakness classification
References
- NVD record
- CVE.org record
- http://lists.fedoraproject.org/pipermail/package-announce/2010-April/040359.html
- http://www.securityfocus.com/archive/1/510360/100/0/threaded
- http://www.securityfocus.com/archive/1/510368/100/0/threaded
- http://www.varnish-cache.org/changeset/3865
- http://www.varnish-cache.org/wiki/CLI
- http://lists.fedoraproject.org/pipermail/package-announce/2010-April/040359.html
- http://www.securityfocus.com/archive/1/510360/100/0/threaded
- http://www.securityfocus.com/archive/1/510368/100/0/threaded
- http://www.varnish-cache.org/changeset/3865
- http://www.varnish-cache.org/wiki/CLI