Lucene search

K
openvasCopyright (C) 2013 Greenbone AGOPENVAS:1361412562310803984
HistoryDec 24, 2013 - 12:00 a.m.

TYPO3 indexed_search SQL Injection Vulnerability

2013-12-2400:00:00
Copyright (C) 2013 Greenbone AG
plugins.openvas.org
18

CVSS2

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

AI Score

7.5

Confidence

Low

EPSS

0.003

Percentile

66.1%

TYPO3 is prone to an SQL injection (SQLi) vulnerability.

# SPDX-FileCopyrightText: 2013 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.803984");
  script_version("2023-04-05T10:19:45+0000");
  script_cve_id("CVE-2007-6381");
  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:"qod_type", value:"remote_banner_unreliable");
  script_tag(name:"last_modification", value:"2023-04-05 10:19:45 +0000 (Wed, 05 Apr 2023)");
  script_tag(name:"creation_date", value:"2013-12-24 11:14:51 +0530 (Tue, 24 Dec 2013)");
  script_name("TYPO3 indexed_search SQL Injection Vulnerability");

  script_tag(name:"impact", value:"Successful exploitation will allow remote authenticated attackers to view,
add, modify or delete information in the back-end database.");
  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
  script_tag(name:"insight", value:"An error exists in indexed_search system extension which fails to
sufficiently sanitize user-supplied data before using it in an SQL query.");
  script_tag(name:"solution", value:"Upgrade to TYPO3 version 4.0.8 or 4.1.4 or later.");
  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"summary", value:"TYPO3 is prone to an SQL injection (SQLi) vulnerability.");
  script_tag(name:"affected", value:"TYPO3 version before 4.0.8 and 4.1.0 to 4.1.3");

  script_xref(name:"URL", value:"http://secunia.com/advisories/27969");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/26871");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/39017");
  script_xref(name:"URL", value:"https://typo3.org/security/advisory/typo3-20071210-1");
  script_category(ACT_GATHER_INFO);
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2013 Greenbone AG");
  script_dependencies("gb_typo3_http_detect.nasl");
  script_mandatory_keys("typo3/detected");

  exit(0);
}

include("version_func.inc");
include("host_details.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_is_less(version:vers, test_version:"4.0.8") ||
   version_in_range(version:vers, test_version:"4.1.0", test_version2:"4.1.3")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"See advisory", install_path:path);
  security_message(port:port, data:report);
  exit(0);
}

exit(99);

CVSS2

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

AI Score

7.5

Confidence

Low

EPSS

0.003

Percentile

66.1%

Related for OPENVAS:1361412562310803984