CVE-2023-50731

CVSS 3.1 Score 9.1 of 10 (high)

Details

Published Dec 22, 2023
Updated: Jan 5, 2024
CWE ID 22
CWE ID 918

Summary

CVE-2023-50731 is a vulnerability affecting MindsDB, an SQL Server for artificial intelligence, prior to version 23.11.4.1. The issue lies in the `put` method of `mindsdb/mindsdb/api/http/namespaces/file.py`, which fails to validate user-controlled input used in creating a temporary file name. Malicious actors can exploit this path injection vulnerability to write arbitrary files outside of the intended directory. Although Mindsdb later checks for specific file types on line 149 in the `save_file` method, this check occurs after the file has been written, resulting in the persistence of the potentially dangerous files. An attacker can also delete `zip` or `tar.gz` files on the server due to another path injection vulnerability on line 138.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share

Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2023-50731 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more with Recorded Future
  • Gain complete coverage of your cyber, third party, and physical attack surface
  • Proactively mitigate threats before they turn into costly attacks
  • Make fast, effective, data-driven decisions