FreeBSD : mysql -- GRANT access restriction problem (01c231cd-4393-11d9-8bb9-00065be4b5b6)

medium Nessus Plugin ID 18817

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

When a user is granted access to a database with a name containing an underscore and the underscore is not escaped then that user might also be able to access other, similarly named, databases on the affected system.

The problem is that the underscore is seen as a wildcard by MySQL and therefore it is possible that an admin might accidentally GRANT a user access to multiple databases.

Solution

Update the affected packages.

See Also

https://bugs.mysql.com/bug.php?id=3933

https://access.redhat.com/errata/RHSA-2004:611

http://meta.openpkg.org/global-sitemap.php

http://www.nessus.org/u?6b3557ad

Plugin Details

Severity: Medium

ID: 18817

File Name: freebsd_pkg_01c231cd439311d98bb900065be4b5b6.nasl

Version: 1.25

Type: local

Published: 7/13/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:mysql-server, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 12/16/2004

Vulnerability Publication Date: 3/29/2004

Reference Information

CVE: CVE-2004-0957

BID: 11435