#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# This plugin text was extracted from SuSE Security Advisory SUSE-SA:2003:003
#
if ( ! defined_func("bn_random") ) exit(0);
include('deprecated_nasl_level.inc');
include('compat.inc');
if(description)
{
script_id(13781);
script_version("1.11");
name["english"] = "SUSE-SA:2003:003: mysql";
script_name(english:name["english"]);
script_set_attribute(attribute:"synopsis", value:
"The remote host is missing a vendor-supplied security patch" );
script_set_attribute(attribute:"description", value:
"The remote host is missing the patch for the advisory SUSE-SA:2003:003 (mysql).
Stefan Esser from e-matters reported various bugs in MySQL. Within the
MySQL server the password checking and a signedness issue has been fixed.
These could lead to a remote compromise of the system running an unpatched
MySQL server. In order to exploit this bug, the remote attacker needs a
valid MySQL account.
Further, a buffer overflow in the mysqlclient library has been reported
and fixed. Applications using this library (as commonly used from within
PHP scripts) are vulnerable to this attack and could also be compromised
by remote attackers.
Since there is no workaround possible except shutting down the MySQL
server, we strongly recommend an update.
Please download the update package for your distribution and verify its
integrity by the methods listed in section 3) of this announcement.
Then, install the package using the command 'rpm -Fhv file.rpm' to apply
the update." );
script_set_attribute(attribute:"solution", value:
"http://www.suse.de/security/2003_003_mysql.html" );
script_set_attribute(attribute:"risk_factor", value:"High" );
script_set_attribute(attribute:"plugin_publication_date", value: "2004/07/25");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/14");
script_end_attributes();
summary["english"] = "Check for the version of the mysql package";
script_summary(english:summary["english"]);
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2004-2021 Tenable Network Security, Inc.");
family["english"] = "SuSE Local Security Checks";
script_family(english:family["english"]);
script_dependencies("ssh_get_info.nasl");
script_require_keys("Host/SuSE/rpm-list");
exit(0);
}
include("rpm.inc");
if ( rpm_check( reference:"mysql-3.23.33-28", release:"SUSE7.1") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-client-3.23.33-28", release:"SUSE7.1") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-devel-3.23.33-28", release:"SUSE7.1") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-3.23.37-58", release:"SUSE7.2") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-client-3.23.37-58", release:"SUSE7.2") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-devel-3.23.37-58", release:"SUSE7.2") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-3.23.44-24", release:"SUSE7.3") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-client-3.23.44-24", release:"SUSE7.3") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-devel-3.23.44-24", release:"SUSE7.3") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-3.23.48-78", release:"SUSE8.0") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-client-3.23.48-78", release:"SUSE8.0") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-devel-3.23.48-78", release:"SUSE8.0") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-3.23.52-44", release:"SUSE8.1") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-client-3.23.52-44", release:"SUSE8.1") )
{
security_hole(0);
exit(0);
}
if ( rpm_check( reference:"mysql-devel-3.23.52-44", release:"SUSE8.1") )
{
security_hole(0);
exit(0);
}
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