CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:S/C:P/I:N/A:N
AI Score
Confidence
Low
EPSS
Percentile
78.5%
WordPress is prone to an information-disclosure vulnerability because
it fails to properly restrict access to trashed posts.
# SPDX-FileCopyrightText: 2010 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
CPE = "cpe:/a:wordpress:wordpress";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.100505");
script_version("2023-07-28T16:09:07+0000");
script_tag(name:"last_modification", value:"2023-07-28 16:09:07 +0000 (Fri, 28 Jul 2023)");
script_tag(name:"creation_date", value:"2010-02-24 18:35:31 +0100 (Wed, 24 Feb 2010)");
script_cve_id("CVE-2010-0682");
script_tag(name:"cvss_base", value:"4.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:N/A:N");
script_name("WordPress Trashed Posts Information Disclosure Vulnerability");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/38368");
script_xref(name:"URL", value:"http://tmacuk.co.uk/?p=180");
script_xref(name:"URL", value:"http://wordpress.org/development/2010/02/wordpress-2-9-2/");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_category(ACT_GATHER_INFO);
script_family("Web application abuses");
script_copyright("Copyright (C) 2010 Greenbone AG");
script_dependencies("gb_wordpress_http_detect.nasl");
script_mandatory_keys("wordpress/detected");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"solution", value:"Updates are available. Please see the references for more information.");
script_tag(name:"summary", value:"WordPress is prone to an information-disclosure vulnerability because
it fails to properly restrict access to trashed posts.");
script_tag(name:"impact", value:"An attacker can exploit this vulnerability to view other authors'
trashed posts, which may aid in further attacks.");
script_tag(name:"affected", value:"Versions prior to WordPress 2.9.2 are vulnerable.");
exit(0);
}
include("version_func.inc");
include("host_details.inc");
if(!port = get_app_port(cpe:CPE))
exit(0);
if(!vers = get_app_version(cpe:CPE, port:port))
exit(0);
if(version_is_less(version: vers, test_version: "2.9.2")) {
report = report_fixed_ver(installed_version:vers, fixed_version:"2.9.2");
security_message(port:port, data:report);
exit(0);
}
exit(99);