ID GRAYLOG2_CVE_2014_9217.NASL Type nessus Reporter This script is Copyright (C) 2015-2021 and is owned by Tenable, Inc. or an Affiliate thereof. Modified 2015-02-10T00:00:00
Description
The remote version of Graylog2 is affected by a vulnerability that
allows remote attackers, using crafted wildcards, to bypass the
authentication mechanisms when the installation is configured to use
LDAP authentication.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(81259);
script_version("1.6");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_cve_id("CVE-2014-9217");
script_bugtraq_id(71827);
script_name(english:"Graylog2 LDAP Authentication Bypass Vulnerability");
script_summary(english:"Checks the Graylog2 version.");
script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by an authentication bypass vulnerability.");
script_set_attribute(attribute:"description", value:
"The remote version of Graylog2 is affected by a vulnerability that
allows remote attackers, using crafted wildcards, to bypass the
authentication mechanisms when the installation is configured to use
LDAP authentication.");
script_set_attribute(attribute:"see_also", value:"https://www.graylog2.org/news/post/0010-graylog2-v0-92");
script_set_attribute(attribute:"solution", value:
"Upgrade Graylog2 to version 0.92 or higher.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2014-9217");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2014/12/01");
script_set_attribute(attribute:"patch_publication_date", value:"2014/12/01");
script_set_attribute(attribute:"plugin_publication_date", value:"2015/02/10");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:torch_gmbh:graylog2");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2015-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("graylog2_web_interface_detect.nbin");
script_require_keys("installed_sw/Graylog2");
script_require_ports("Services/www", 443);
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("install_func.inc");
get_install_count(app_name:'Graylog2', exit_if_zero:TRUE);
port = get_http_port(default:443);
install = get_single_install(
app_name : 'Graylog2',
port : port,
exit_if_unknown_ver : TRUE
);
version = install['version'];
item = eregmatch(pattern:"^([\d.]+)($|[^\d.])", string:version);
if(isnull(item) || isnull(item[1]))
audit(AUDIT_NONNUMERIC_VER, 'Graylog2', port, version);
version = item[1];
if(ver_compare(ver:version, fix:'0.92.0', strict:FALSE) == -1)
{
if(report_verbosity > 0)
{
report = '\n URL : ' + build_url(port:port, qs:'/') +
'\n Installed version : ' + version +
'\n Fixed version : 0.92.0\n';
security_warning(port:port, extra:report);
}
else security_warning(port);
}
else audit(AUDIT_WEB_APP_NOT_AFFECTED, "Graylog2", build_url(port:port, qs:"/"));
{"id": "GRAYLOG2_CVE_2014_9217.NASL", "bulletinFamily": "scanner", "title": "Graylog2 LDAP Authentication Bypass Vulnerability", "description": "The remote version of Graylog2 is affected by a vulnerability that\nallows remote attackers, using crafted wildcards, to bypass the\nauthentication mechanisms when the installation is configured to use\nLDAP authentication.", "published": "2015-02-10T00:00:00", "modified": "2015-02-10T00:00:00", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:N/I:P/A:N"}, "href": "https://www.tenable.com/plugins/nessus/81259", "reporter": "This script is Copyright (C) 2015-2021 and is owned by Tenable, Inc. or an Affiliate thereof.", "references": ["https://www.graylog2.org/news/post/0010-graylog2-v0-92"], "cvelist": ["CVE-2014-9217"], "type": "nessus", "lastseen": "2021-01-20T11:31:45", "edition": 26, "viewCount": 22, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2014-9217"]}], "modified": "2021-01-20T11:31:45", "rev": 2}, "score": {"value": 5.5, "vector": "NONE", "modified": "2021-01-20T11:31:45", "rev": 2}, "vulnersScore": 5.5}, "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(81259);\n script_version(\"1.6\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/19\");\n\n script_cve_id(\"CVE-2014-9217\");\n script_bugtraq_id(71827);\n\n script_name(english:\"Graylog2 LDAP Authentication Bypass Vulnerability\");\n script_summary(english:\"Checks the Graylog2 version.\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote host is affected by an authentication bypass vulnerability.\");\n script_set_attribute(attribute:\"description\", value:\n\"The remote version of Graylog2 is affected by a vulnerability that\nallows remote attackers, using crafted wildcards, to bypass the\nauthentication mechanisms when the installation is configured to use\nLDAP authentication.\");\n script_set_attribute(attribute:\"see_also\", value:\"https://www.graylog2.org/news/post/0010-graylog2-v0-92\");\n script_set_attribute(attribute:\"solution\", value:\n\"Upgrade Graylog2 to version 0.92 or higher.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2014-9217\");\n\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2014/12/01\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2014/12/01\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2015/02/10\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"remote\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/a:torch_gmbh:graylog2\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"CGI abuses\");\n\n script_copyright(english:\"This script is Copyright (C) 2015-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"graylog2_web_interface_detect.nbin\");\n script_require_keys(\"installed_sw/Graylog2\");\n script_require_ports(\"Services/www\", 443);\n\n exit(0);\n}\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"http.inc\");\ninclude(\"install_func.inc\");\n\nget_install_count(app_name:'Graylog2', exit_if_zero:TRUE);\n\nport = get_http_port(default:443);\n\ninstall = get_single_install(\n app_name : 'Graylog2',\n port : port,\n exit_if_unknown_ver : TRUE\n);\n\nversion = install['version'];\nitem = eregmatch(pattern:\"^([\\d.]+)($|[^\\d.])\", string:version);\n\nif(isnull(item) || isnull(item[1]))\n audit(AUDIT_NONNUMERIC_VER, 'Graylog2', port, version);\n\nversion = item[1];\n\nif(ver_compare(ver:version, fix:'0.92.0', strict:FALSE) == -1)\n{\n if(report_verbosity > 0)\n {\n report = '\\n URL : ' + build_url(port:port, qs:'/') +\n '\\n Installed version : ' + version +\n '\\n Fixed version : 0.92.0\\n';\n security_warning(port:port, extra:report);\n }\n else security_warning(port);\n}\nelse audit(AUDIT_WEB_APP_NOT_AFFECTED, \"Graylog2\", build_url(port:port, qs:\"/\"));\n", "naslFamily": "CGI abuses", "pluginID": "81259", "cpe": ["cpe:/a:torch_gmbh:graylog2"], "scheme": null}