CVE-2009-2936 Missing authorization in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code, escalate privileges, or read files via the unauthenticated Varnish CLI interface.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-2936?

CVE-2009-2936 is a high-severity missing authorization vulnerability in n/a, published on 5 Apr 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-287

Which versions are affected by CVE-2009-2936?

It affects 1 product.

Products include Varnish.projects.linpro Varnish.

How do I fix CVE-2009-2936?

Upgrade to a fixed version.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2009-2936 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-2936 exists.

Public exploit code: 2 Metasploit modules and 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2009-2936, GHSA-vq42-25hh-c536.

Is CVE-2009-2936 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free