5 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:N/A:P
6.5 Medium
AI Score
Confidence
Low
0.004 Low
EPSS
Percentile
73.6%
Tor is prone to DNS Spoofing vulnerability.
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.800840");
script_version("2024-02-08T14:36:53+0000");
script_tag(name:"last_modification", value:"2024-02-08 14:36:53 +0000 (Thu, 08 Feb 2024)");
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_name("Tor 'relay.c' DNS Spoofing Vulnerability (Jul 2009) - Linux");
script_xref(name:"URL", value:"http://secunia.com/advisories/35546");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/35505");
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 AG");
script_family("General");
script_dependencies("secpod_tor_detect_lin.nasl");
script_mandatory_keys("Tor/Linux/Ver");
script_tag(name:"affected", value:"Tor version 0.2.x before 0.2.0.35 and 0.1.x before 0.1.2.8-beta on Linux.");
script_tag(name:"insight", value:"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.");
script_tag(name:"solution", value:"Upgrade to version 0.2.0.35 or 0.1.2.8-beta or later.");
script_tag(name:"summary", value:"Tor is prone to DNS Spoofing vulnerability.");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to conduct DNS spoofing
attacks.");
script_tag(name:"qod_type", value:"executable_version");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("version_func.inc");
torVer = get_kb_item("Tor/Linux/Ver");
if(!torVer){
exit(0);
}
torVer = ereg_replace(pattern:"-", replace:".", string:torVer);
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(port:0);
exit(0);
}