Lucene search
K

Varnish Log Escape Sequence Injection Vulnerability

🗓️ 28 Jan 2010 00:00:00Reported by Copyright (c) 2010 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 27 Views

Varnish Log Escape Sequence Injection Vulnerability. Successful exploitation allows executing arbitrary commands in a terminal. Varnish version 2.0.6 and prior are affected. Upgrade to Varnish version 2.1.2 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2009-4488
11 Jan 201000:00
circl
CVE
CVE-2009-4488
13 Jan 201020:00
cve
Cvelist
CVE-2009-4488
13 Jan 201020:00
cvelist
Debian CVE
CVE-2009-4488
13 Jan 201020:00
debiancve
NVD
CVE-2009-4488
13 Jan 201020:30
nvd
OpenVAS
Varnish < 2.1.2 Log Escape Sequence Injection Vulnerability
28 Jan 201000:00
openvas
OSV
DEBIAN-CVE-2009-4488
13 Jan 201020:30
osv
OSV
UBUNTU-CVE-2009-4488
13 Jan 201020:30
osv
Packet Storm
Nginx, Varnish, Cherokee, etc Log Injection
11 Jan 201000:00
packetstorm
Prion
Design/Logic Flaw
13 Jan 201020:30
prion
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_varnish_logs_escape_sequence_inj_vuln.nasl 5390 2017-02-21 18:39:27Z mime $
#
# Varnish Log Escape Sequence Injection  Vulnerability
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2010 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Successful exploitation will let the attacker execute arbitrary commands in
  a terminal.

  Impact level: Application";

tag_affected = "Varnish version 2.0.6 and prior.";
tag_insight = "The flaw exists when the Web Server is executed in foreground in a pty or
  when the logfiles are viewed with tools like 'cat' or 'tail' injected control
  characters reach the terminal and are executed.";
tag_solution = "Upgrade to Varnish version 2.1.2 or later
  For updates refer to http://varnish.projects.linpro.no/wiki/WikiStart";
tag_summary = "This host is installed with Varnish and is prone to Log Escape
  Sequence Injection Vulnerability.";

if(description)
{
  script_id(800447);
  script_version("$Revision: 5390 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-21 19:39:27 +0100 (Tue, 21 Feb 2017) $");
  script_tag(name:"creation_date", value:"2010-01-28 16:24:05 +0100 (Thu, 28 Jan 2010)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_cve_id("CVE-2009-4488");
  script_bugtraq_id(37713);
  script_name("Varnish Log Escape Sequence Injection Vulnerability");
  script_xref(name : "URL" , value : "http://www.ush.it/team/ush/hack_httpd_escape/adv.txt");
  script_xref(name : "URL" , value : "http://www.securityfocus.com/archive/1/archive/1/508830/100/0/threaded");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2010 Greenbone Networks GmbH");
  script_family("Web Servers");
  script_dependencies("gb_get_http_banner.nasl", "gb_varnish_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("Varnish/Ver","Varnish/banner");
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "impact" , value : tag_impact);
  exit(0);
}


include("http_func.inc");
include("version_func.inc");

port = get_http_port(default:80);
if(!get_port_state(port)){
  exit(0);
}

varVer = get_kb_item("Varnish/Ver");
if(!varVer){
  exit(0);
}

banner = get_http_banner(port:port);
if("X-Varnish" >< banner)
{
  if(version_is_less_equal(version:varVer, test_version:"2.0.6")){
    security_message(0);
  }
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 Feb 2017 00:00Current
6.8Medium risk
Vulners AI Score6.8
EPSS0.0192
27