6.0
MEDIUM
CVE-2007-2692
MySQL Remote Privilege Escalation Vulnerability
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.

INFO

Published Date :

May 16, 2007, 1:19 a.m.

Last Modified :

Nov. 21, 2024, 12:31 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

6.8
Public PoC/Exploit Available at Github

CVE-2007-2692 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2007-2692 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Oracle mysql
1 Mysql mysql
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2007-2692.

URL Resource
http://bugs.mysql.com/bug.php?id=27337
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-18.html
http://lists.mysql.com/announce/470
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
http://osvdb.org/34765
http://secunia.com/advisories/25301 Vendor Advisory
http://secunia.com/advisories/26073
http://secunia.com/advisories/26430
http://secunia.com/advisories/27823
http://secunia.com/advisories/28637
http://secunia.com/advisories/28838
http://secunia.com/advisories/29443
http://secunia.com/advisories/30351
http://www.debian.org/security/2007/dsa-1413
http://www.mandriva.com/security/advisories?name=MDVSA-2008:028
http://www.redhat.com/support/errata/RHSA-2007-0894.html
http://www.redhat.com/support/errata/RHSA-2008-0364.html
http://www.securityfocus.com/archive/1/473874/100/0/threaded
http://www.securityfocus.com/bid/24011
http://www.securitytracker.com/id?1018070
http://www.ubuntu.com/usn/usn-588-1
http://www.vupen.com/english/advisories/2007/1804
https://exchange.xforce.ibmcloud.com/vulnerabilities/34348
https://issues.rpath.com/browse/RPL-1536
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9166
http://bugs.mysql.com/bug.php?id=27337
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-18.html
http://lists.mysql.com/announce/470
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
http://osvdb.org/34765
http://secunia.com/advisories/25301 Vendor Advisory
http://secunia.com/advisories/26073
http://secunia.com/advisories/26430
http://secunia.com/advisories/27823
http://secunia.com/advisories/28637
http://secunia.com/advisories/28838
http://secunia.com/advisories/29443
http://secunia.com/advisories/30351
http://www.debian.org/security/2007/dsa-1413
http://www.mandriva.com/security/advisories?name=MDVSA-2008:028
http://www.redhat.com/support/errata/RHSA-2007-0894.html
http://www.redhat.com/support/errata/RHSA-2008-0364.html
http://www.securityfocus.com/archive/1/473874/100/0/threaded
http://www.securityfocus.com/bid/24011
http://www.securitytracker.com/id?1018070
http://www.ubuntu.com/usn/usn-588-1
http://www.vupen.com/english/advisories/2007/1804
https://exchange.xforce.ibmcloud.com/vulnerabilities/34348
https://issues.rpath.com/browse/RPL-1536
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9166

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Code used to CVE check Alpine based images

Shell

Updated: 4 months, 4 weeks ago
10 stars 0 fork 0 watcher
Born at : May 6, 2017, 9:13 p.m. This repo has been linked 60 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2007-2692 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2007-2692 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://bugs.mysql.com/bug.php?id=27337
    Added Reference http://dev.mysql.com/doc/refman/5.1/en/news-5-1-18.html
    Added Reference http://lists.mysql.com/announce/470
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
    Added Reference http://osvdb.org/34765
    Added Reference http://secunia.com/advisories/25301
    Added Reference http://secunia.com/advisories/26073
    Added Reference http://secunia.com/advisories/26430
    Added Reference http://secunia.com/advisories/27823
    Added Reference http://secunia.com/advisories/28637
    Added Reference http://secunia.com/advisories/28838
    Added Reference http://secunia.com/advisories/29443
    Added Reference http://secunia.com/advisories/30351
    Added Reference http://www.debian.org/security/2007/dsa-1413
    Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2008:028
    Added Reference http://www.redhat.com/support/errata/RHSA-2007-0894.html
    Added Reference http://www.redhat.com/support/errata/RHSA-2008-0364.html
    Added Reference http://www.securityfocus.com/archive/1/473874/100/0/threaded
    Added Reference http://www.securityfocus.com/bid/24011
    Added Reference http://www.securitytracker.com/id?1018070
    Added Reference http://www.ubuntu.com/usn/usn-588-1
    Added Reference http://www.vupen.com/english/advisories/2007/1804
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/34348
    Added Reference https://issues.rpath.com/browse/RPL-1536
    Added Reference https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9166
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.9:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.9:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.17:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.17:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.16:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.16:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.15:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.15:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.14:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.14:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.13:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.13:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.12:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.12:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.11:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.11:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.10:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.10:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.9:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.9:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.8:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.8:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.7:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.7:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.6:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.6:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.4:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.3:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.2:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.1.1:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.1.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.8:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.8:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.7:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.7:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.37:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.37:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.33:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.33:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.27:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.27:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.22:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.22:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.21:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.21:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.19:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.19:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.18:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.18:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.14:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.14:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.13:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.13:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.12:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.12:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.11:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.11:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.6:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.6:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.3:beta:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.3:beta:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.0:alpha:*:*:*:*:*:* OR *cpe:2.3:a:oracle:mysql:5.0.0:alpha:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.20a:*:*:*:*:*:*:* OR *cpe:2.3:a:mysql:mysql:5.0.20:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.17a:*:*:*:*:*:*:* OR *cpe:2.3:a:mysql:mysql:5.0.17:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.16a:*:*:*:*:*:*:* OR *cpe:2.3:a:mysql:mysql:5.0.16:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.15a:*:*:*:*:*:*:* OR *cpe:2.3:a:mysql:mysql:5.0.15:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.10a:*:*:*:*:*:*:* OR *cpe:2.3:a:mysql:mysql:5.0.10:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.4a:*:*:*:*:*:*:* OR *cpe:2.3:a:mysql:mysql:5.0.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.3a:*:*:*:*:*:*:* OR *cpe:2.3:a:mysql:mysql:5.0.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.1a:*:*:*:*:*:*:* OR *cpe:2.3:a:mysql:mysql:5.0.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:mysql:mysql:5.0.0.0:*:*:*:*:*:*:* OR *cpe:2.3:a:mysql:mysql:5.0.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 16, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/473874/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/473874/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 11, 2017

    Action Type Old Value New Value
    Removed Reference http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:9166 [No Types Assigned]
    Added Reference https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9166 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 29, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/34348 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/34348 [No Types Assigned]
  • Initial Analysis by [email protected]

    May. 17, 2007

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2007-2692 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2007-2692 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.58 }} -1.36%

score

0.66367

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability