CVE-2007-2692
Published May 16, 2007
Last updated 5 years ago
Overview
- Description
- The mysql_change_db function in MySQL 5.0.x before 5.0.40 and 5.1.x before 5.1.18 does not restore THD::db_access privileges when returning from SQL SECURITY INVOKER stored routines, which allows remote authenticated users to gain privileges.
- Source
- cve@mitre.org
- NVD status
- Modified
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 2.0
- Type
- Primary
- Base score
- 6
- Impact score
- 6.4
- Exploitability score
- 6.8
- Vector string
- AV:N/AC:M/Au:S/C:P/I:P/A:P
Weaknesses
- nvd@nist.gov
- NVD-CWE-Other
Vendor comments
- Red HatThis issue did not affect mysql packages as shipped in Red Hat Enterprise Linux 2.1, 3 and 4. Affected mysql packages as shipped in Red Hat Enterprise Linux 5 and Red Hat Application Stack were fixed via: https://rhn.redhat.com/errata/CVE-2007-2692.html
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:mysql:mysql:5.0.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "DC198CDB-CAC0-41DD-9FCD-42536E7FE11A" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B77A2761-2B44-4061-9C29-A54F90A1AD83" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5B3AD851-056F-4E57-B85B-4AC5A5A20C0C" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FD24EA8C-4FCA-4F40-B2EA-7DFA49432483" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "754B78F2-A03C-40BE-812B-F5E57B93D20B" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "575039BD-A8B6-4459-B5F0-F220A94650EA" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.5.0.21:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "BDA03768-74D2-4C5D-ABCF-8A91F9E6C273" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.10:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "542B23CB-7535-4EF7-B926-466A5161A0D4" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.15:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "45E686C3-4100-465C-9F45-068580B496E5" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.16:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6E9F09D8-6FAE-4A5B-AE04-248CD52C5FF4" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.17:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "DB618DB2-6B00-4E99-8232-937D2C51986B" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.20:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "665E063D-355D-4A5A-A05F-36BF582DE36F" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.22.1.0.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "214E3CF9-6362-4F5A-91B7-5E69564F7144" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.0.24:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "F4C6CD84-EA5D-451F-AFC3-5F7094F0017D" }, { "criteria": "cpe:2.3:a:mysql:mysql:5.1.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "35BED939-3366-4CBF-B6BF-29C0C42E97F7" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.0:alpha:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "19001041-22C4-4D2C-A918-378DACBB1DF4" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.3:beta:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6F610D56-6BB6-48FB-B43A-670CE9168500" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1668BB5B-E7FB-4430-B8D5-89E308F5DD39" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.7:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E3F44DA1-1509-4AC7-AB6B-2B2A834A16AC" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.8:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7A2D6DF6-FE5D-428F-BCEB-E7832C2B4FE4" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.9:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7777E919-FD4B-452B-88D7-165410C703F2" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.11:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A56ACB60-EC2C-45AF-B923-B3A90A2F7AE1" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.12:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "67C52D66-3BCA-4854-BF09-CB6DF1AC0E48" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.13:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "BF54CC8D-B736-461D-B693-686E862EF969" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.14:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5E5EADE4-9E1B-4A1C-B3B5-ACF1287A19E7" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.18:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "053ACE9B-A146-42C0-ADB2-47F6119965D8" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.19:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "30B4F891-2A03-45A8-A49C-7F8B8F7D8407" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.21:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "69E62AC4-954E-476C-98BE-C138E328AE7B" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.22:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6B88385C-F5FB-401F-80D5-5BF11CE3C19D" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.27:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "11873AEA-5D6C-4AC0-915A-8A2869B2EFF5" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.33:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5965032E-5BC0-4E69-B097-F9EE2B24C861" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.0.37:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "35F21A5A-F9C0-4860-80AD-1D3937483F28" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "73F49A1D-BCA3-4772-8AB3-621CCC997B3A" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "F719DD8E-8379-43C3-97F9-DE350E457F7F" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "342BB65B-1358-441C-B59A-1756BCC6414A" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "8589B1E7-0D6D-44B4-A36E-8225C5D15828" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "88FEEE64-899F-4F55-B829-641706E29E32" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.7:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D8597F56-BB14-480C-91CD-CAB96A9DDD8D" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.8:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7F4C5C88-95A7-4DDA-BC2F-CAFA47B0D67A" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.9:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5EB2323C-EFE2-407A-9AE9-8717FA9F8625" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.10:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6341F695-6034-4CC1-9485-ACD3A0E1A079" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.11:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D1DF5F19-ECD9-457F-89C6-6F0271CF4766" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.12:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "446DB5E9-EF4C-4A53-911E-91A802AECA5D" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.13:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5829BE6A-BC58-482B-9DA1-04FDD413A7A9" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.14:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "C85D20DF-702B-4F0B-922D-782474A4B663" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.15:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "73A09785-3CA4-4797-A836-A958DCDC322F" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.16:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "C4DE3D79-0966-4E14-9288-7C269A2CEEC3" }, { "criteria": "cpe:2.3:a:oracle:mysql:5.1.17:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "564F6A24-BEB3-4420-A633-8AD54C292436" } ], "operator": "OR" } ] } ]