Lucene search

K
openvasCopyright (C) 2018 Greenbone AGOPENVAS:1361412562310813313
HistoryApr 20, 2018 - 12:00 a.m.

TYPO3 Persistent XSS Vulnerability (Apr 2018) - Linux

2018-04-2000:00:00
Copyright (C) 2018 Greenbone AG
plugins.openvas.org
12

CVSS2

3.5

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS3

4.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

EPSS

0.001

Percentile

32.3%

TYPO3 is prone to a cross-site scripting (XSS) vulnerability.

# SPDX-FileCopyrightText: 2018 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-or-later

CPE = "cpe:/a:typo3:typo3";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.813313");
  script_version("2023-04-05T10:19:45+0000");
  script_cve_id("CVE-2018-6905");
  script_tag(name:"cvss_base", value:"3.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:N/I:P/A:N");
  script_tag(name:"last_modification", value:"2023-04-05 10:19:45 +0000 (Wed, 05 Apr 2023)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2018-05-09 17:53:00 +0000 (Wed, 09 May 2018)");
  script_tag(name:"creation_date", value:"2018-04-20 13:46:03 +0530 (Fri, 20 Apr 2018)");
  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_name("TYPO3 Persistent XSS Vulnerability (Apr 2018) - Linux");

  script_tag(name:"summary", value:"TYPO3 is prone to a cross-site scripting (XSS) vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"The flaw is due to an insufficient sanitization of user supplied
  input in the page module.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to execute a
  script on victim's Web browser within the security context of the hosting Web site.");

  script_tag(name:"affected", value:"TYPO3 versions prior to 8.7.11 and 9.x prior to 9.1.0.");

  script_tag(name:"solution", value:"Update to version 8.7.11, 9.1.0 or later.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_xref(name:"URL", value:"https://security.snyk.io/vuln/SNYK-PHP-TYPO3CMS-72119");
  script_xref(name:"URL", value:"https://forge.typo3.org/issues/84191");
  script_xref(name:"URL", value:"https://github.com/pradeepjairamani/TYPO3-XSS-POC");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_typo3_http_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("typo3/detected", "Host/runs_unixoide");

  exit(0);
}

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

if(!port = get_app_port(cpe:CPE))
  exit(0);

if(!infos = get_app_version_and_location(cpe:CPE, port:port, exit_no_version:TRUE, version_regex:"[0-9]+\.[0-9]+\.[0-9]+")) # nb: Version might not be exact enough
  exit(0);

vers = infos["version"];
path = infos["location"];

if(version_in_range_exclusive(version:vers, test_version_lo:"9.0", test_version_up:"9.1.0"))
  fix = "9.1.1";

else if(version_is_less(version:vers, test_version:"8.7.11"))
  fix = "8.7.11";

if(fix) {
  report = report_fixed_ver(installed_version:vers, fixed_version:fix, install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

exit(99);

CVSS2

3.5

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS3

4.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

EPSS

0.001

Percentile

32.3%

Related for OPENVAS:1361412562310813313