Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability has been identified in certain versions of AIDB, specifically impacting the AIDB MCP endpoint. While this endpoint is disabled by default in the base product, it is enabled by default in the EDB Postgres AI Agent Factory for AWS Marketplace, a configuration that increases the risk of exploitation. At a high level, this could allow unauthorized access to sensitive data and system control if the affected product is in use.
- Unauthorized SQL access to sensitive data.
- Leadership should remember its potential for data and system compromise.
- Confirm relevance; investigate EDB Postgres AI Agent Factory deployments.
Attack Path
How an attacker could exploit the issue
An attacker could potentially reach a vulnerable component by first gaining network access to the AIDB MCP endpoint. If the endpoint is enabled and configured with certain database authentication settings, the attacker could then bypass password checks. This would allow them to execute SQL commands, potentially leading to unauthorized data access or modification, and even operating system command execution as the Postgres user.
- Network access to the endpoint required.
- Weak database authentication allows SQL execution.
- Risk of data compromise and command execution.
Live Threat
Current exploitation, exposure, and threat context
When supported by the advisory, an affected system could allow an attacker to execute SQL commands as a database superuser. This could lead to unauthorized access and modification of all data within the database and, in some configurations, enable the execution of operating system commands.
- Database data and system commands.
- Exploiting weak authentication to the MCP endpoint.
- Full data compromise and unauthorized command execution.
Operational Fix
Recommended remediation, mitigation, and detection steps
The AIDB MCP endpoint, if enabled, allows an attacker to run SQL commands as a superuser by exploiting a weak credential check. This could lead to unauthorized access to all data and system commands. The EDB Postgres AI Agent Factory for AWS Marketplace is known to ship with this endpoint enabled by default. Initial triage should focus on identifying instances of the affected software, confirming endpoint reachability and business criticality, and locating the accountable owner for remediation planning.
- Identify and confirm affected systems and owners.
- Verify endpoint reachability and criticality.
- Plan remediation based on risk.