RCE in Oracle MySQL

CVE-2010-2008

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.090 (94.7th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (signature, x_refsource_OVAL, Third Party Advisory, vdb-entry)
  • cve@mitre.org (x_refsource_CONFIRM, Exploit, Issue Tracking, Vendor Advisory)
  • cve@mitre.org (Permissions Required, vdb-entry, x_refsource_VUPEN)
  • cve@mitre.org (Exploit, Third Party Advisory, VDB Entry, vdb-entry, x_refsource_BID)
  • cve@mitre.org (Exploit, Third Party Advisory, VDB Entry, vdb-entry, x_refsource_SECTRACK)
  • cve@mitre.org (x_refsource_SECUNIA, Third Party Advisory, third-party-advisory)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (x_refsource_CONFIRM, Broken Link)
  • cve@mitre.org (vendor-advisory, x_refsource_MANDRIVA, Broken Link)