ID OPENVAS:1361412562310142070 Type openvas Reporter Copyright (C) 2019 Greenbone Networks GmbH Modified 2020-08-24T00:00:00
Description
Detection of IBM StoredIQ.
The script sends a connection request to the server and attempts to detect IBM StoredIQ and to extract its
version.
# Copyright (C) 2019 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.142070");
script_version("2020-08-24T15:18:35+0000");
script_tag(name:"last_modification", value:"2020-08-24 15:18:35 +0000 (Mon, 24 Aug 2020)");
script_tag(name:"creation_date", value:"2019-03-05 15:29:55 +0700 (Tue, 05 Mar 2019)");
script_tag(name:"cvss_base", value:"0.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
script_tag(name:"qod_type", value:"remote_banner");
script_name("IBM StoredIQ Detection");
script_tag(name:"summary", value:"Detection of IBM StoredIQ.
The script sends a connection request to the server and attempts to detect IBM StoredIQ and to extract its
version.");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
script_family("Product detection");
script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80, 443);
script_exclude_keys("Settings/disable_cgi_scanning");
script_xref(name:"URL", value:"https://www.ibm.com/us-en/marketplace/ibm-storediq-suite");
exit(0);
}
include("cpe.inc");
include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
port = http_get_port(default: 443);
res = http_get_cache(port: port, item: "/login");
if ("<title>IBM StoredIQ" >< res && '"urlArgs": "version=' >< res) {
version = "unknown";
# "version": "7.6.0.17+14"
vers = eregmatch(pattern: '"version": "([0-9.]+)', string: res);
if (!isnull(vers[1]))
version = vers[1];
set_kb_item(name: "ibm/storediq/detected", value: TRUE);
cpe = build_cpe(value: version, exp: "^([0-9.]+)", base: "cpe:/a:ibm:storediq:");
if (!cpe)
cpe = 'cpe:/a:ibm:storediq';
register_product(cpe: cpe, location: "/", port: port, service: "www");
log_message(data: build_detection_report(app: "IBM StoredIQ", version: version, install: "/", cpe: cpe,
concluded: vers[0]),
port: port);
exit(0);
}
exit(0);
{"id": "OPENVAS:1361412562310142070", "type": "openvas", "bulletinFamily": "scanner", "title": "IBM StoredIQ Detection", "description": "Detection of IBM StoredIQ.\n\nThe script sends a connection request to the server and attempts to detect IBM StoredIQ and to extract its\nversion.", "published": "2019-03-05T00:00:00", "modified": "2020-08-24T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310142070", "reporter": "Copyright (C) 2019 Greenbone Networks GmbH", "references": ["https://www.ibm.com/us-en/marketplace/ibm-storediq-suite"], "cvelist": [], "lastseen": "2020-10-04T15:17:28", "viewCount": 60, "enchantments": {"dependencies": {"references": [], "modified": "2020-10-04T15:17:28", "rev": 2}, "score": {"value": -0.1, "vector": "NONE", "modified": "2020-10-04T15:17:28", "rev": 2}, "vulnersScore": -0.1}, "pluginID": "1361412562310142070", "sourceData": "# Copyright (C) 2019 Greenbone Networks GmbH\n# Some text descriptions might be excerpted from (a) referenced\n# source(s), and are Copyright (C) by the respective right holder(s).\n#\n# SPDX-License-Identifier: GPL-2.0-or-later\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.142070\");\n script_version(\"2020-08-24T15:18:35+0000\");\n script_tag(name:\"last_modification\", value:\"2020-08-24 15:18:35 +0000 (Mon, 24 Aug 2020)\");\n script_tag(name:\"creation_date\", value:\"2019-03-05 15:29:55 +0700 (Tue, 05 Mar 2019)\");\n script_tag(name:\"cvss_base\", value:\"0.0\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:N/I:N/A:N\");\n\n script_tag(name:\"qod_type\", value:\"remote_banner\");\n\n script_name(\"IBM StoredIQ Detection\");\n\n script_tag(name:\"summary\", value:\"Detection of IBM StoredIQ.\n\nThe script sends a connection request to the server and attempts to detect IBM StoredIQ and to extract its\nversion.\");\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"Copyright (C) 2019 Greenbone Networks GmbH\");\n script_family(\"Product detection\");\n script_dependencies(\"find_service.nasl\", \"httpver.nasl\", \"global_settings.nasl\");\n script_require_ports(\"Services/www\", 80, 443);\n script_exclude_keys(\"Settings/disable_cgi_scanning\");\n\n script_xref(name:\"URL\", value:\"https://www.ibm.com/us-en/marketplace/ibm-storediq-suite\");\n\n exit(0);\n}\n\ninclude(\"cpe.inc\");\ninclude(\"host_details.inc\");\ninclude(\"http_func.inc\");\ninclude(\"http_keepalive.inc\");\ninclude(\"port_service_func.inc\");\n\nport = http_get_port(default: 443);\n\nres = http_get_cache(port: port, item: \"/login\");\n\nif (\"<title>IBM StoredIQ\" >< res && '\"urlArgs\": \"version=' >< res) {\n version = \"unknown\";\n\n # \"version\": \"7.6.0.17+14\"\n vers = eregmatch(pattern: '\"version\": \"([0-9.]+)', string: res);\n if (!isnull(vers[1]))\n version = vers[1];\n\n set_kb_item(name: \"ibm/storediq/detected\", value: TRUE);\n\n cpe = build_cpe(value: version, exp: \"^([0-9.]+)\", base: \"cpe:/a:ibm:storediq:\");\n if (!cpe)\n cpe = 'cpe:/a:ibm:storediq';\n\n register_product(cpe: cpe, location: \"/\", port: port, service: \"www\");\n\n log_message(data: build_detection_report(app: \"IBM StoredIQ\", version: version, install: \"/\", cpe: cpe,\n concluded: vers[0]),\n port: port);\n exit(0);\n}\n\nexit(0);\n", "naslFamily": "Product detection", "immutableFields": []}