Lucene search
K

WEBppliance ocw_login_username Parameter XSS

🗓️ 27 Sep 2005 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 66 Views

The WEBppliance login script is prone to cross-site scripting attacks due to unsanitized user-supplied input to the 'ocw_login_username' parameter

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2005-3014
21 Sep 200504:00
cve
Cvelist
CVE-2005-3014
21 Sep 200504:00
cvelist
EUVD
EUVD-2005-3014
7 Oct 202500:30
euvd
NVD
CVE-2005-3014
21 Sep 200521:03
nvd
RedhatCVE
CVE-2005-3014
22 May 202500:24
redhatcve
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(19781);
  script_version("1.20");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2005-3014");
  script_bugtraq_id(14836);

  script_name(english:"WEBppliance ocw_login_username Parameter XSS");

  script_set_attribute(attribute:"synopsis", value:
"The remote host contains a PHP script that is vulnerable to cross-site
scripting attacks.");
  script_set_attribute(attribute:"description", value:
"The remote host is running WEBppliance, a web hosting control panel
for Windows and Linux from Ensim. 

The installed version of WEBppliance is prone to cross-site scripting
attacks because it fails to sanitize user-supplied input to the
'ocw_login_username' parameter of the login script before using it in
dynamically-generated webpages.");
  # http://membres.lycos.fr/newnst/exploit/Ensim_Autentification_XSS_By_ConcorDHacK.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?79c902b9");
  script_set_attribute(attribute:"solution", value:
"Unknown at this time.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");

  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);

  script_set_attribute(attribute:"vuln_publication_date", value:"2005/09/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2005/09/27");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:ensim:webppliance");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_ATTACK);
  script_family(english:"CGI abuses : XSS");

  script_copyright(english:"This script is Copyright (C) 2005-2022 Tenable Network Security, Inc.");

  script_dependencies("http_version.nasl", "cross_site_scripting.nasl");
  script_require_ports("Services/www", 19638);

  exit(0);
}


include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("url_func.inc");

port = get_http_port(default:19638);
if (get_kb_item("www/"+port+"/generic_xss")) exit(0);


# A simple alert.
xss = '<script>alert("' + SCRIPT_NAME + '")</script>';
exss = urlencode(str:xss);


# Make sure the affected script exists.
w = http_send_recv3(method:"GET", item:"/webhost", port:port);
if (isnull(w)) exit(0);
res = w[2];


# If it looks like WEBppliance...
if (
  "Appliance Administrator Login" >< res &&
  "<INPUT type=text name=ocw_login_username" >< res
) {
  # Try to exploit the flaw.
  postdata = string(
    'ocw_login_username=">', exss, "&",
    "ocw_login_password=nessus"
  );
  w = http_send_recv3(method:"POST", item: "/webhost", port: port,
    content_type: "application/x-www-form-urlencoded",
    data: postdata);
  if (isnull(w)) exit(0);
  res = w[2];

  # There's a problem if we see our XSS.
  if (xss >< res) {
    security_warning(port);
    set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
    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

11 Apr 2022 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 24.3
EPSS0.00335
66