Lucene search
K

Tor 'relay.c' DNS Spoofing Vulnerability - July09 (Windows)

🗓️ 17 Jul 2009 00:00:00Reported by Copyright (C) 2009 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 17 Views

Tor 'relay.c' DNS Spoofing Vulnerability on Window

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2009-2426
10 Jul 200917:00
cve
Cvelist
CVE-2009-2426
10 Jul 200917:00
cvelist
Debian CVE
CVE-2009-2426
10 Jul 200917:00
debiancve
EUVD
EUVD-2009-2421
7 Oct 202500:30
euvd
NVD
CVE-2009-2426
10 Jul 200917:30
nvd
OpenVAS
Tor 'relay.c' DNS Spoofing Vulnerability (Jul 2009) - Windows
17 Jul 200900:00
openvas
OpenVAS
Tor 'relay.c' DNS Spoofing Vulnerability (Jul 2009) - Linux
17 Jul 200900:00
openvas
OpenVAS
Tor 'relay.c' DNS Spoofing Vulnerability - July09 (Linux)
17 Jul 200900:00
openvas
OSV
DEBIAN-CVE-2009-2426
10 Jul 200917:30
osv
Prion
Command injection
10 Jul 200917:30
prion
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_tor_dns_spoofing_vuln_jul09_win.nasl 4892 2016-12-30 15:39:07Z teissa $
#
# Tor 'relay.c' DNS Spoofing Vulnerability - July09 (Windows)
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (c) 2009 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 allow attackers to conduct DNS spoofing
  attacks.

  Impact level: Application";

tag_affected = "Tor version 0.2.x before 0.2.0.35 and 0.1.x before 0.1.2.8-beta on Windows.";
tag_insight = "Error in 'connection_edge_process_relay_cell_not_open' function in 'relay.c'
  in src/or/ allows exit relays to have an unspecified impact by causing
  controllers to accept DNS responses that redirect to an internal IP address
  via unknown vectors.";
tag_solution = "Upgrade to version 0.2.0.35 or 0.1.2.8-beta or later
  http://www.torproject.org/download.html.en";
tag_summary = "This host is installed with Tor and is prone to DNS Spoofing vulnerability.";

if(description)
{
  script_id(800838);
  script_version("$Revision: 4892 $");
  script_tag(name:"last_modification", value:"$Date: 2016-12-30 16:39:07 +0100 (Fri, 30 Dec 2016) $");
  script_tag(name:"creation_date", value:"2009-07-17 12:47:28 +0200 (Fri, 17 Jul 2009)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_cve_id("CVE-2009-2426");
  script_bugtraq_id(35505);
  script_name("Tor 'relay.c' DNS Spoofing Vulnerability - July09 (Windows)");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/35546");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/51377");
  script_xref(name : "URL" , value : "http://archives.seul.org/or/announce/Jun-2009/msg00000.html");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_tor_detect_win.nasl");
  script_require_keys("Tor/Win/Ver");
  script_require_ports("Services/www");
  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);
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


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

foreach torPort (make_list(9050, 9051, 8118))
{
  if(get_port_state(torPort))
  {
    sndReq = string("GET / HTTP/1.1", "\r\n",
                    "Host: ", get_host_name(), "\r\n\r\n");
    rcvRes = http_send_recv(port:torPort, data:sndReq);

    if(egrep(pattern:"<a\ href=?[^?]+:\/\/www\.torproject\.org",
             string:rcvRes) && "Tor" >< rcvRes)
    {
      torVer = get_kb_item("Tor/Win/Ver");
      torVer = ereg_replace(pattern:"-", replace:".", string:torVer);
      if(torVer == NULL){
        exit(0);
      }

      # Check for Tor version 0.2 < 0.2.0.35 and 0.1 < 0.1.2.8-beta
      if(version_in_range(version:torVer, test_version:"0.1",
                                          test_version2:"0.1.2.8.alpha")||
         version_in_range(version:torVer, test_version:"0.2",
                                          test_version2:"0.2.0.34.alpha"))
      {
        security_message(torPort);
        exit(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

30 Dec 2016 00:00Current
6.4Medium risk
Vulners AI Score6.4
EPSS0.00696
17