← Vulnerability feed

Vulnerability record · CVE-2010-2008 · published 13 July 2010

CVE-2010-2008: Oracle mysql command injection vulnerability

Oracle · Mysql

MySQL before 5.1.48 allows remote authenticated users with alter database privileges to cause a denial of service (server crash and database loss) via an ALTER DATABASE command with a #mysql50# string followed by a . (dot), .. (dot dot), ../ (dot dot slash) or similar sequence, and an UPGRADE DATA DIRECTORY NAME command, which causes MySQL to move certain directories to the server data directory.

3.5 CVSS 2.0 Low EPSS 9.0% · top 4.9% CWE-77 · Command injection
3.5CVSS 2.0 base score
9.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
24References, 6 tagged exploit
16 Jun 2026Last modified by NVD

Description

MySQL before 5.1.48 allows remote authenticated users with alter database privileges to cause a denial of service (server crash and database loss) via an ALTER DATABASE command with a #mysql50# string followed by a . (dot), .. (dot dot), ../ (dot dot slash) or similar sequence, and an UPGRADE DATA DIRECTORY NAME command, which causes MySQL to move certain directories to the server data directory.

AV:N/AC:M/Au:S/C:N/I:N/A:P

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://bugs.mysql.com/bug.php?id=53804 ExploitIssue TrackingVendor Advisory
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-48.html Broken Link
http://lists.fedoraproject.org/pipermail/package-announce/2010-July/044546.html Third Party Advisory
http://secunia.com/advisories/40333 Third Party Advisory
http://secunia.com/advisories/40762 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2010:155 Broken Link
http://www.securityfocus.com/bid/41198 ExploitThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1024160 ExploitThird Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-1017-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1397-1 Third Party Advisory
http://www.vupen.com/english/advisories/2010/1918 Permissions Required
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11869 Third Party Advisory
http://bugs.mysql.com/bug.php?id=53804 ExploitIssue TrackingVendor Advisory
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-48.html Broken Link
http://lists.fedoraproject.org/pipermail/package-announce/2010-July/044546.html Third Party Advisory
http://secunia.com/advisories/40333 Third Party Advisory
http://secunia.com/advisories/40762 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2010:155 Broken Link
http://www.securityfocus.com/bid/41198 ExploitThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1024160 ExploitThird Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-1017-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1397-1 Third Party Advisory
http://www.vupen.com/english/advisories/2010/1918 Permissions Required
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11869 Third Party Advisory

Track CVE-2010-2008 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed9.8CVE-2021-44026Roundcube Webmail SQL injection via search parametersRoundcube Webmail before 1.3.17 and 1.4.x before 1.4.12 is prone to SQL injection through the search or search_params input. The flaw is remotely rea…KEVEPSS 70%analysed9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2020-16846SaltStack Salt API shell injection via crafted web requestsSaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. T…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2010-2008), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.