CVE-2009-2936
Varnish.projects.linpro Varnish vulnerability
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
Varnish. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Varnish.projects.linpro Varnish runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.fedoraproject.org/pipermail/package-announce/2010-April/040359.html
- www.securityfocus.com/archive/1/510360/100/0/threaded
- www.securityfocus.com/archive/1/510368/100/0/threaded
- www.varnish-cache.org/changeset/3865
- www.varnish-cache.org/wiki/CLI
- nvd.nist.gov/vuln/detail/CVE-2009-2936
- cve.org/CVERecord?id=CVE-2009-2936
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.