Apache Struts Security Update (CVE-2012-1592)
🗓️ 16 Sep 2021 00:00:00Reported by Copyright (C) 2021 Greenbone Networks GmbHType
openvas🔗 plugins.openvas.org👁 20 Views
| Reporter | Title | Published | Views | Family All 14 |
|---|---|---|---|---|
| The vulnerability of the struts2-core library of the Apache Struts software platform allows attackers to execute arbitrary code. | 29 Oct 202400:00 | – | bdu_fstec | |
| CVE-2012-1592 | 23 Mar 201200:00 | – | circl | |
| Unspecified Vulnerability in Apache Struts2 | 10 Dec 201900:00 | – | cnvd | |
| CVE-2012-1592 | 5 Dec 201920:57 | – | cve | |
| CVE-2012-1592 | 5 Dec 201920:57 | – | cvelist | |
| Apache Struts 2.0 - 'XSLTResult.java' Arbitrary File Upload | 23 Mar 201200:00 | – | exploitdb | |
| EUVD-2022-1679 | 3 Oct 202520:07 | – | euvd | |
| Unrestricted Upload of File with Dangerous Type in Apache Struts2 | 23 Apr 202200:40 | – | github | |
| CVE-2012-1592 | 5 Dec 201921:15 | – | nvd | |
| GHSA-8M5Q-CRQQ-6PMF Unrestricted Upload of File with Dangerous Type in Apache Struts2 | 23 Apr 202200:40 | – | osv |
10
# Copyright (C) 2021 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.
CPE = "cpe:/a:apache:struts";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.117676");
script_version("2021-09-16T12:01:45+0000");
script_cve_id("CVE-2012-1592");
script_tag(name:"cvss_base", value:"6.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:P/A:P");
script_tag(name:"last_modification", value:"2021-09-16 12:01:45 +0000 (Thu, 16 Sep 2021)");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2020-09-04 02:15:00 +0000 (Fri, 04 Sep 2020)");
script_tag(name:"creation_date", value:"2021-09-16 09:38:41 +0000 (Thu, 16 Sep 2021)");
script_name("Apache Struts Security Update (CVE-2012-1592)");
script_category(ACT_GATHER_INFO);
script_family("Web application abuses");
script_copyright("Copyright (C) 2021 Greenbone Networks GmbH");
script_dependencies("gb_apache_struts_consolidation.nasl");
script_mandatory_keys("apache/struts/detected");
script_xref(name:"URL", value:"https://issues.apache.org/jira/browse/WW-5055");
script_xref(name:"URL", value:"https://struts.apache.org/security/#internal-security-mechanism");
script_xref(name:"URL", value:"https://github.com/apache/struts/blob/35e63dbf65d0b52855c51e09e7c48eb09848fa6e/core/src/main/resources/struts-default.xml#L39-L61");
script_tag(name:"summary", value:"Apache Struts is prone to a local code execution vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"affected", value:"All Apache Struts 2.x versions not having the 'Runtime' class
on the list of excluded classes.");
script_tag(name:"solution", value:"Update to the latest version of Apache Struts 2.x and make sure
that 'Runtime' is in the list of excluded classes. Please see the references for more information.");
# nb: Currently unclear which of the "latest" versions has set "Runtime" on the default list of
# excluded classes. This could be done on earlier versions as well so just using a low QoD.
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("version_func.inc");
include("host_details.inc");
if (isnull(port = get_app_port(cpe: CPE)))
exit(0);
if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
exit(0);
version = infos["version"];
location = infos["location"];
if (version =~ "^2\.[0-9]+") {
report = report_fixed_ver(installed_version: version, fixed_version: "See references", install_path: location);
security_message(port: port, data: report);
exit(0);
}
exit(99);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
16 Sep 2021 00:00Current
8.8High risk
Vulners AI Score8.8
CVSS 26.5
CVSS 3.18.8
EPSS0.2855