Lucene search
+L

TeamPass <= 2.1.27.36 Multiple XSS Vulnerabilities

🗓️ 09 Aug 2019 00:00:00Reported by Copyright (C) 2019 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 94 Views

TeamPass XSS Vulnerabilities 2.1.27.3

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2020-12478
25 Apr 202422:12
circl
cnvd
CNVD
TeamPass Cross-Site Scripting Vulnerability (CNVD-2019-41893)
20 Nov 201900:00
cnvd
cnvd
CNVD
TeamPass Cross-Site Scripting Vulnerability (CNVD-2019-41894)
20 Nov 201900:00
cnvd
cnvd
CNVD
TeamPass Cross-Site Scripting Vulnerability (CNVD-2020-16615)
7 Aug 201900:00
cnvd
cnvd
CNVD
TeamPass Information Disclosure Vulnerability
30 Apr 202000:00
cnvd
cnvd
CNVD
TeamPass Injection Vulnerability
30 Apr 202000:00
cnvd
cnvd
CNVD
TeamPass Path Traversal Vulnerability
30 Apr 202000:00
cnvd
cnvd
CNVD
TeamPass Authorization Control Vulnerability
6 May 202000:00
cnvd
cve
CVE
CVE-2019-12950
6 Aug 201916:16
cve
cve
CVE
CVE-2019-16904
26 Sep 201911:06
cve
Rows per page
# SPDX-FileCopyrightText: 2019 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:teampass:teampass";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.142722");
  script_version("2025-01-21T05:37:33+0000");
  script_tag(name:"last_modification", value:"2025-01-21 05:37:33 +0000 (Tue, 21 Jan 2025)");
  script_tag(name:"creation_date", value:"2019-08-09 05:35:24 +0000 (Fri, 09 Aug 2019)");
  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:"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-05-01 15:26:00 +0000 (Fri, 01 May 2020)");

  script_cve_id("CVE-2019-12950", "CVE-2019-16904", "CVE-2019-17203", "CVE-2019-17204",
                "CVE-2019-17205", "CVE-2020-11671", "CVE-2020-12477", "CVE-2020-12478",
                "CVE-2020-12479");

  script_tag(name:"qod_type", value:"remote_banner");

  script_tag(name:"solution_type", value:"WillNotFix");

  script_name("TeamPass <= 2.1.27.36 Multiple XSS Vulnerabilities");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2019 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_teampass_http_detect.nasl");
  script_mandatory_keys("teampass/detected");

  script_tag(name:"summary", value:"TeamPass is prone to multiple cross-site scripting (XSS)
  vulnerabilities.");

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

  script_tag(name:"insight", value:"These vulnerabilities exist:

  - CVE-2019-12950: From the sources/items.queries.php 'Import items' feature, it is possible to
  load a crafted CSV file with an XSS payload.

  - CVE-2019-16904: Setting a crafted password for an item in a common available folder or sharing
  the item with an admin allows stored XSS.

  - CVE-2019-17203: Setting a crafted password for an item in any folder allows stored XSS.

  - CVE-2019-17204: Setting a crafted Knowledge Base label and adding any available item allows
  stored XSS.

  - CVE-2019-17205: Placing a payload in the username field during a login attempt allows stored
  XSS. When an administrator looks at the log of failed logins, the XSS payload will be executed.

  - CVE-2020-11671: Lack of authorization controls in REST API functions allows any TeamPass user
  with a valid API token to become a TeamPass administrator and read/modify all passwords via
  authenticated api/index.php REST API calls.

  - CVE-2020-12477: The REST API functions allow any user with a valid API token to bypass IP
  address whitelist restrictions via an X-Forwarded-For client HTTP header to the getIp function.

  - CVE-2020-12478: Unauthenticated attackers may retrieve files from the TeamPass web root. This
  may include backups or LDAP debug files.

  - CVE-2020-12479: Any authenticated TeamPass user may trigger a PHP file include vulnerability via
  a crafted HTTP request with sources/users.queries.php newValue directory traversal.");

  script_tag(name:"affected", value:"TeamPass version 2.1.27.36 and probably prior.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year
  since the disclosure of this vulnerability. Likely none will be provided anymore. General solution
  options are to upgrade to a newer release, disable respective features, remove the product or
  replace the product by another one.");

  script_xref(name:"URL", value:"https://github.com/nilsteampassnet/TeamPass/issues/2638");
  script_xref(name:"URL", value:"https://github.com/nilsteampassnet/TeamPass/issues/2685");
  script_xref(name:"URL", value:"https://github.com/nilsteampassnet/TeamPass/issues/2689");
  script_xref(name:"URL", value:"https://github.com/nilsteampassnet/TeamPass/issues/2690");
  script_xref(name:"URL", value:"https://github.com/nilsteampassnet/TeamPass/issues/2688");
  script_xref(name:"URL", value:"https://github.com/nilsteampassnet/TeamPass/issues/2765");
  script_xref(name:"URL", value:"https://github.com/nilsteampassnet/TeamPass/issues/2761");
  script_xref(name:"URL", value:"https://github.com/nilsteampassnet/TeamPass/issues/2764");
  script_xref(name:"URL", value:"https://github.com/nilsteampassnet/TeamPass/issues/2762");

  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))
  exit(0);

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

if (version_is_less_equal(version: version, test_version: "2.1.27.36")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "None", install_path: path);
  security_message(port: port, data: report);
  exit(0);
}

exit(0);

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