{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 2.4, "accessVector": "LOCAL", "vectorString": "AV:L/AC:H/Au:S/C:N/I:P/A:P", "authentication": "SINGLE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"LOW\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "mysql", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.0.95-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "mysql-bench", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.0.95-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "mysql-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.0.95-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "mysql-server", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.0.95-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "mysql-test", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.0.95-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2012-4452.html"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2013-01-11T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 2.4, "accessVector": "LOCAL", "vectorString": "AV:L/AC:H/Au:S/C:N/I:P/A:P", "authentication": "SINGLE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "redhat", "product": "mysql", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.0.95-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-bench", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.0.95-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.0.95-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-server", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.0.95-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-test", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.0.95-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2013:0121"}, {"url": "https://access.redhat.com/security/cve/CVE-2012-4452"}], "descriptions": [{"lang": "en", "value": "MySQL is a multi-user, multi-threaded SQL database server. It consists of\nthe MySQL server daemon (mysqld) and many client programs and libraries.\n\nIt was found that the fix for the CVE-2009-4030 issue, a flaw in the way\nMySQL checked the paths used as arguments for the DATA DIRECTORY and INDEX\nDIRECTORY directives when the \"datadir\" option was configured with a\nrelative path, was incorrectly removed when the mysql packages in Red Hat\nEnterprise Linux 5 were updated to version 5.0.95 via RHSA-2012:0127. An\nauthenticated attacker could use this flaw to bypass the restriction\npreventing the use of subdirectories of the MySQL data directory being used\nas DATA DIRECTORY and INDEX DIRECTORY paths. This update re-applies the fix\nfor CVE-2009-4030. (CVE-2012-4452)\n\nNote: If the use of the DATA DIRECTORY and INDEX DIRECTORY directives were\ndisabled as described in RHSA-2010:0109 (by adding \"symbolic-links=0\" to\nthe \"[mysqld]\" section of the \"my.cnf\" configuration file), users were not\nvulnerable to this issue.\n\nThis issue was discovered by Karel Volný of the Red Hat Quality Engineering\nteam.\n\nThis update also fixes the following bugs:\n\n* Prior to this update, the log file path in the logrotate script did not\nbehave as expected. As a consequence, the logrotate function failed to\nrotate the \"/var/log/mysqld.log\" file. This update modifies the logrotate\nscript to allow rotating the mysqld.log file. (BZ#647223)\n\n* Prior to this update, the mysqld daemon could fail when using the EXPLAIN\nflag in prepared statement mode. This update modifies the underlying code\nto handle the EXPLAIN flag as expected. (BZ#654000)\n\n* Prior to this update, the mysqld init script could wrongly report that\nmysql server startup failed when the server was actually started. This\nupdate modifies the init script to report the status of the mysqld server\nas expected. (BZ#703476)\n\n* Prior to this update, the \"--enable-profiling\" option was by default\ndisabled. This update enables the profiling feature. (BZ#806365)\n\nAll MySQL users are advised to upgrade to these updated packages, which\ncontain backported patches to resolve these issues. After installing this\nupdate, the MySQL server daemon (mysqld) will be restarted automatically."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2012-09-27T00:00:00Z", "x_subShortName": "redhat_5"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 2.4, "accessVector": "LOCAL", "vectorString": "AV:L/AC:H/Au:S/C:N/I:P/A:P", "authentication": "SINGLE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "redhat", "product": "mysql", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-bench", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-devel", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-embedded", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-embedded-devel", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-libs", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-server", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "mysql-test", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/security/cve/CVE-2012-4452"}], "descriptions": [{"lang": "en", "value": "Red Hat's versions of the associated software have been determined to NOT be affected by CVE-2012-4452."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2012-09-27T00:00:00Z", "x_subShortName": "redhat_6"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 2.1, "accessVector": "LOCAL", "vectorString": "AV:L/AC:L/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*"], "vendor": "oracle", "product": "mysql", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "5.0.88"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://rhn.redhat.com/errata/RHSA-2013-0121.html"}, {"url": "http://www.openwall.com/lists/oss-security/2012/09/27/1"}, {"url": "http://www.securityfocus.com/bid/55715"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=860808"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "MySQL v5.0.88 enlaces simbólicos, y posiblemente otras versiones y plataformas, permite a usuarios locales eludir ciertos privilegios llamando a CREATE TABLE en una tabla MyISAM con argumentos (1) DATA DIRECTORY o (2) INDEX DIRECTORY modificados que son originalmente asociados con rutas sin enlaces simbólicos, y que pueden apuntar a tablas creadas en un momento futuro en el que una ruta es modificada para contener un enlace simbólico a un subdirectorio del directorio de datos de MySQL. Se trata de un problema relacionado con el cálculo incorrecto del valor mysql_unpacked_real_data_home . NOTA: esta vulnerabilidad se debe a una regresión al CVE-2009-4030, que no fue evitado en algunos paquetes y versiones probados, como MySQL v5.0.95 en Red Hat Enterprise Linux 6."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-264", "description": "CWE-264"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2012-10-09T23:55:05Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2012-4452", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2012-10-09T23:55:05Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}