The version of MariaDB 5.5 running on the remote host is a version prior to 5.5.32. It is, therefore, potentially affected by the following vulnerabilities :
Errors exist related to the following subcomponents :
Audit Log, Data Manipulation Language, Full Text Search, GIS, Server Optimizer, Server Parser and Server Replication. (CVE-2013-1861, CVE-2013-3783, CVE-2013-3793, CVE-2013-3802, CVE-2013-3804, CVE-2013-3809, CVE-2013-3812)
Errors exist in the files โsql/item_func.ccโ, โsql/item_sum.ccโ, โsql/item_timefunc.ccโ, โsql/opt_range.ccโ, โsql/sql_derived.ccโ, โsql/sql_insert.ccโ, โsql/sql_select.ccโ, โsql/sql_table.ccโ, โsql/table.ccโ and โstorage/innobase/mem/mem0mem.cโ that could allow denial of service attacks.
Errors exist in the functions or methods โCONVERT_TZ Item_func_min_max::get_dateโ, โmy_decimal2decimalโ, โsetup_ref_arrayโ and โst_select_lex::nest_last_joinโ that could allow denial of service attacks.
A buffer overflow error exists in the file โsql/opt_range.ccโ in the function โQUICK_GROUP_MIN_MAX_SELECT::next_minโ that could allow denial of service attacks and possibly arbitrary code execution
An unspecified issue exists in the file โdbug/dbug.cโ in the macro โstr_to_bufโ that has an unspecified impact.
#
# (C) Tenable Network Security, Inc.
#
include('compat.inc');
if (description)
{
script_id(72373);
script_version("1.12");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/11/18");
script_cve_id(
"CVE-2013-1861",
"CVE-2013-3783",
"CVE-2013-3793",
"CVE-2013-3802",
"CVE-2013-3804",
"CVE-2013-3809",
"CVE-2013-3812",
"CVE-2016-0502"
);
script_bugtraq_id(
58511,
61210,
61244,
61249,
61260,
61264,
61272,
62085
);
script_name(english:"MariaDB 5.5 < 5.5.32 Multiple Vulnerabilities");
script_set_attribute(attribute:"synopsis", value:
"The remote database server is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of MariaDB 5.5 running on the remote host is a version
prior to 5.5.32. It is, therefore, potentially affected by the
following vulnerabilities :
- Errors exist related to the following subcomponents :
Audit Log, Data Manipulation Language, Full Text Search,
GIS, Server Optimizer, Server Parser and
Server Replication. (CVE-2013-1861, CVE-2013-3783,
CVE-2013-3793, CVE-2013-3802, CVE-2013-3804,
CVE-2013-3809, CVE-2013-3812)
- Errors exist in the files 'sql/item_func.cc',
'sql/item_sum.cc', 'sql/item_timefunc.cc',
'sql/opt_range.cc', 'sql/sql_derived.cc',
'sql/sql_insert.cc', 'sql/sql_select.cc',
'sql/sql_table.cc', 'sql/table.cc' and
'storage/innobase/mem/mem0mem.c' that could allow
denial of service attacks.
- Errors exist in the functions or methods 'CONVERT_TZ
Item_func_min_max::get_date', 'my_decimal2decimal',
'setup_ref_array' and 'st_select_lex::nest_last_join'
that could allow denial of service attacks.
- A buffer overflow error exists in the file
'sql/opt_range.cc' in the function
'QUICK_GROUP_MIN_MAX_SELECT::next_min' that could allow
denial of service attacks and possibly arbitrary code
execution
- An unspecified issue exists in the file 'dbug/dbug.c'
in the macro 'str_to_buf' that has an unspecified
impact.");
script_set_attribute(attribute:"see_also", value:"https://mariadb.com/kb/en/library/mariadb-5532-changelog/");
script_set_attribute(attribute:"solution", value:
"Upgrade to MariaDB version 5.5.32 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2013-3809");
script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2016-0502");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2013/05/21");
script_set_attribute(attribute:"patch_publication_date", value:"2013/07/18");
script_set_attribute(attribute:"plugin_publication_date", value:"2014/02/06");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:mariadb:mariadb");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Databases");
script_copyright(english:"This script is Copyright (C) 2014-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("mysql_version.nasl", "mysql_login.nasl");
script_require_keys("Settings/ParanoidReport");
script_require_ports("Services/mysql", 3306);
exit(0);
}
include("mysql_version.inc");
mysql_check_version(variant:'MariaDB', fixed:'5.5.32-MariaDB', min:'5.5', severity:SECURITY_WARNING);
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1861
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3783
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3793
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3802
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3804
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3809
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3812
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-0502
mariadb.com/kb/en/library/mariadb-5532-changelog/