Access Restriction Bypass Affecting mysql-server package, versions <0:5.0.95-3.el5


Severity

Recommended
low

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.06% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE5-MYSQLSERVER-2469176
  • published10 Apr 2022
  • disclosed9 Oct 2012

Introduced: 9 Oct 2012

CVE-2012-4452  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Oracle:5 mysql-server to version 0:5.0.95-3.el5 or higher.
This issue was patched in ELSA-2013-0121.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mysql-server package and not the mysql-server package as distributed by Oracle. See How to fix? for Oracle:5 relevant fixed versions and status.

MySQL 5.0.88, and possibly other versions and platforms, allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1) DATA DIRECTORY or (2) INDEX DIRECTORY arguments that are originally associated with pathnames without symlinks, and that can point to tables created at a future time at which a pathname is modified to contain a symlink to a subdirectory of the MySQL data home directory, related to incorrect calculation of the mysql_unpacked_real_data_home value. NOTE: this vulnerability exists because of a CVE-2009-4030 regression, which was not omitted in other packages and versions such as MySQL 5.0.95 in Red Hat Enterprise Linux 6.

CVSS Scores

version 3.1