CVE-2009-2936
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Varnish reverse proxy server's Command Line Interface (CLI) in versions before 2.1.0 lacks authentication on its management TCP port, allowing unauthenticated remote attackers to execute arbitrary code through vcl.inline directives containing inline C code, manipulate master process ownership via param.set/start/stop directives, read arbitrary file contents via vcl.load, and conduct CSRF attacks.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 0.9= 0.9.1= 1.0= 1.0.1= 1.0.2= 1.0.3= 1.0.4= 1.1= 1.1.1= 1.1.2= 2.0= 2.0.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:L/Au:N/C:P/I:P/A:P
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Varnish versionRun command: varnishd -V or rpm -q varnish or dpkg -l varnish depending on your systemAffected if Version is 0.9, 0.9.1, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1, 1.1.1, 1.1.2, 2.0, or 2.0.1 (any version before 2.1.0)
-
Locate Varnish configuration fileCommon paths: /etc/varnish/default.vcl or check VARNISH_CONFIG in environment or init scriptAffected if Configuration file exists and Varnish is configured to run
-
Check management CLI port bindingInspect Varnish startup parameters for -s or -f arguments; look for 'listen' or 'management' directives in configuration; run: ps aux | grep varnishd to see startup flagsAffected if Management port (default 6082) is bound to 0.0.0.0 or a publicly reachable interface rather than 127.0.0.1 only
-
Verify firewall exposure of management portCheck iptables rules or host firewall configuration for rules allowing external access to port 6082 (or custom CLI port)Affected if Port 6082 or the configured management port is accessible from untrusted networks or non-localhost addresses
-
Confirm CLI authentication statusAttempt a local connection to management port: telnet localhost 6082 or nc localhost 6082, then issue a simple command like 'ping' without providing credentialsAffected if CLI accepts commands without requiring authentication
You are affected if running any Varnish version before 2.1.0 AND the management CLI port is accessible from untrusted network segments without authentication.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataUpgrade to Varnish 2.1.0 or later to patch the vulnerability; alternatively, ensure the management CLI port is not exposed to untrusted networks by using firewall rules or binding to localhost only.
- Consultation3.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,880.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2009-2936 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2009-2936 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data