Skip to main content

CVE-2025-9273: CData API Server Information Disclosure Flaw

CVE-2025-9273 is an information disclosure vulnerability in CData API Server caused by MySQL connection misconfiguration. Authenticated attackers can exploit this to access sensitive local files. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-9273 Overview

CVE-2025-9273 is an information disclosure vulnerability in CData API Server. The flaw stems from a MySQL connection misconfiguration that permits a connected MySQL server to request local files from the API Server acting as the MySQL client. An authenticated remote attacker who can influence or control the target MySQL endpoint can abuse this behavior to read files in the context of the NETWORK SERVICE account. The issue is tracked as ZDI-CAN-23950 and classified under CWE-552 (Files or Directories Accessible to External Parties).

Critical Impact

Authenticated attackers can coerce the CData API Server to disclose local files to an attacker-controlled MySQL server, exposing configuration data, credentials, and other sensitive content accessible to NETWORK SERVICE.

Affected Products

  • CData API Server (see vendor advisory for fixed build)
  • Deployments configured with MySQL data source connections
  • Windows installations running under the NETWORK SERVICE account

Discovery Timeline

  • 2025-09-02 - CVE-2025-9273 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-9273

Vulnerability Analysis

The vulnerability resides in how CData API Server establishes MySQL client connections. The product enables the MySQL LOCAL INFILE capability on outbound connections. This option lets a MySQL server instruct the connecting client to upload the contents of a local file as part of a LOAD DATA LOCAL INFILE statement. A malicious or compromised MySQL server can respond to any client query with a request for an arbitrary local file path. The API Server, acting as the client, then transmits the file contents back to the attacker-controlled server. Exploitation requires authentication to the API Server so that the attacker can define or redirect a MySQL data source. Successful exploitation leaks sensitive files available to the service account.

Root Cause

The root cause is an insecure default on the MySQL client driver. LOCAL INFILE support is enabled instead of being disabled or restricted. CWE-552 captures the resulting exposure: files on the host become reachable by an external party through protocol-level trust in the server.

Attack Vector

An authenticated user configures a MySQL connection in the API Server that points to an attacker-controlled MySQL endpoint. When the API Server initiates any query against that endpoint, the rogue server responds with a LOCAL INFILE request referencing a target file path such as a configuration file or credential store. The API Server reads the file and returns its contents over the MySQL protocol. The attacker obtains data accessible under the NETWORK SERVICE identity.

No verified public exploit code is available. See the Zero Day Initiative Advisory ZDI-25-852 for additional technical context.

Detection Methods for CVE-2025-9273

Indicators of Compromise

  • Outbound MySQL connections from CData API Server hosts to IP addresses or hostnames that are not part of your approved database inventory.
  • API Server audit log entries showing creation or modification of MySQL data source definitions by unexpected user accounts.
  • Unusual file read activity by the API Server process against sensitive paths such as C:\Windows\System32\config\ or application configuration directories.

Detection Strategies

  • Inspect MySQL protocol traffic for LOAD DATA LOCAL INFILE server-side requests originating from untrusted hosts.
  • Correlate CData API Server authentication events with subsequent data source configuration changes to detect abuse of valid credentials.
  • Baseline normal outbound database destinations and alert on new MySQL endpoints queried by the API Server service.

Monitoring Recommendations

  • Enable verbose logging on the CData API Server and forward events to a centralized SIEM for correlation.
  • Monitor file access by the NETWORK SERVICE account on hosts running the API Server, flagging reads outside the product install directory.
  • Track egress to TCP/3306 and other MySQL ports from API Server systems and restrict destinations through firewall allow-lists.

How to Mitigate CVE-2025-9273

Immediate Actions Required

  • Apply the vendor-supplied update referenced in the Zero Day Initiative Advisory ZDI-25-852.
  • Audit all MySQL data source definitions in CData API Server and remove any pointing to unapproved endpoints.
  • Rotate credentials and secrets that may have resided on API Server hosts if unauthorized data source changes are detected.

Patch Information

CData has released fixed builds of API Server addressing the MySQL LOCAL INFILE misconfiguration. Review the Zero Day Initiative Advisory ZDI-25-852 and the vendor's release notes for the specific patched version applicable to your deployment.

Workarounds

  • Restrict API Server administrative access to a minimum set of trusted operators to prevent unauthorized MySQL connection changes.
  • Enforce network egress controls so the API Server can only reach approved MySQL database endpoints.
  • Where connection strings are managed centrally, append AllowLoadLocalInfile=false (or the equivalent driver option supported by your build) to MySQL data source configurations.
bash
# Example egress restriction (Windows Firewall) limiting the API Server host
# to approved MySQL database destinations only
New-NetFirewallRule -DisplayName "Block MySQL to Untrusted Hosts" `
  -Direction Outbound -Protocol TCP -RemotePort 3306 `
  -RemoteAddress Any -Action Block

New-NetFirewallRule -DisplayName "Allow MySQL to Approved DB" `
  -Direction Outbound -Protocol TCP -RemotePort 3306 `
  -RemoteAddress 10.0.0.25,10.0.0.26 -Action Allow

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.