Files
CVEs-PoC/2007/CVE-2007-2692.md
T
2024-06-18 02:51:15 +02:00

18 lines
769 B
Markdown

### [CVE-2007-2692](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2692)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9166
#### Github
- https://github.com/tomwillfixit/alpine-cvecheck