Lucene search
+L

TeamPass <= 2.1.26 XSS Vulnerability - Active Check

🗓️ 16 Mar 2023 00:00:00Reported by Copyright (C) 2023 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 25 Views

TeamPass <= 2.1.26 XSS Vulnerability - Active Check. Reflected XSS via index.php PATH_INFO

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2022-26980
28 Mar 202219:15
attackerkb
circl
Circl
CVE-2022-26980
28 Mar 202222:41
circl
cnnvd
CNNVD
Teampass 跨站脚本漏洞
28 Mar 202200:00
cnnvd
cve
CVE
CVE-2022-26980
28 Mar 202218:00
cve
cvelist
Cvelist
CVE-2022-26980
28 Mar 202218:00
cvelist
euvd
EUVD
EUVD-2022-1465
3 Oct 202520:07
euvd
github
Github Security Blog
Cross-site Scripting in teampass
29 Mar 202200:01
github
nvd
NVD
CVE-2022-26980
28 Mar 202219:15
nvd
openvas
OpenVAS
TeamPass < 3.0 XSS Vulnerability
10 Mar 202300:00
openvas
osv
OSV
GHSA-M2WV-M5PF-284R Cross-site Scripting in teampass
29 Mar 202200:01
osv
Rows per page
# SPDX-FileCopyrightText: 2023 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.170365");
  script_version("2023-10-27T05:05:28+0000");
  script_tag(name:"last_modification", value:"2023-10-27 05:05:28 +0000 (Fri, 27 Oct 2023)");
  script_tag(name:"creation_date", value:"2023-03-16 16:33:49 +0000 (Thu, 16 Mar 2023)");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2022-04-04 17:15:00 +0000 (Mon, 04 Apr 2022)");

  script_cve_id("CVE-2022-26980");

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

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

  script_name("TeamPass <= 2.1.26 XSS Vulnerability - Active Check");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2023 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_teampass_http_detect.nasl");
  script_mandatory_keys("teampass/http/detected");
  script_require_ports("Services/www", 80);

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

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");

  script_tag(name:"insight", value:"Reflected XSS via the index.php PATH_INFO.");

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

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

  script_xref(name:"URL", value:"https://gist.github.com/RNPG/6919286e0daebce7634d0a744e060dca/revisions");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");

if (!port = get_app_port(cpe: CPE, service: "www"))
  exit(0);

if (!dir = get_app_location(cpe: CPE, port: port))
  exit(0);

if (dir == "/")
  dir = "";

url = dir + "/?')" + '"/><script>alert(' + "'vulntest'" + ")</script>";

# eg. <input type="password" size="10" id="pw" name="pw" onkeypress="if (event.keyCode == 13) launchIdentify('', '?')"/><script>alert(document.cookie)</script>', '')" class="input_text text ui-widget-content ui-corner-all" />
if (http_vuln_check(port:port, url:url, icase: FALSE, check_header: TRUE, pattern: "/><script>alert\('vulntest'\)</script>")) {
  report = http_report_vuln_url(port: port, url: url);
  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

27 Oct 2023 00:00Current
6Medium risk
Vulners AI Score6
CVSS 24.3
CVSS 3.16.1
EPSS0.01088
25