CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:N/C:P/I:N/A:N
AI Score
Confidence
Low
EPSS
Percentile
75.9%
Tor is prone to an information disclosure vulnerability.
# Copyright (C) 2010 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.901100");
script_version("2022-05-02T09:35:37+0000");
script_tag(name:"last_modification", value:"2022-05-02 09:35:37 +0000 (Mon, 02 May 2022)");
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-2010-0383", "CVE-2010-0385");
script_name("Tor Directory Queries Information Disclosure Vulnerability (win)");
script_xref(name:"URL", value:"http://secunia.com/advisories/38198");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/37901");
script_xref(name:"URL", value:"http://archives.seul.org/or/talk/Jan-2010/msg00162.html");
script_xref(name:"URL", value:"http://archives.seul.org/or/announce/Jan-2010/msg00000.html");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2010 Greenbone Networks GmbH");
script_family("General");
script_dependencies("gb_tor_detect_win.nasl");
script_mandatory_keys("Tor/Win/Ver");
script_tag(name:"affected", value:"Tor version prior to 0.2.1.22 and 0.2.2.x before 0.2.2.7-alpha on Windows.");
script_tag(name:"insight", value:"The issue is due to bridge directory authorities disclosing all tracked
bridge identities when responding to 'dbg-stability.txt' directory queries.");
script_tag(name:"solution", value:"Upgrade to version 0.2.1.22 or later.");
script_tag(name:"summary", value:"Tor is prone to an information disclosure vulnerability.");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to obtain sensitive information
that can help them launch further attacks.");
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("version_func.inc");
torVer = get_kb_item("Tor/Win/Ver");
if(!torVer){
exit(0);
}
torVer = ereg_replace(pattern:"-", replace:".", string:torVer);
if(version_is_less(version:torVer, test_version:"0.2.1.22")) {
security_message(port:0);
exit(0);
}
if(torVer =~ "^0\.2\.2\." && version_is_less(version:torVer, test_version:"0.2.2.7.alpha")) {
security_message(port:0);
exit(0);
}