Horizon Alert
Summary of the vulnerability and why it matters
This vulnerability affects the Coder platform, exposing temporary database passwords in error messages under specific connection failure conditions. An unauthenticated attacker could potentially leverage these errors to gain access to the PostgreSQL database for a limited time. The primary concern at this stage is to confirm if your organization utilizes the affected Coder versions and if this exposure is relevant to your environment.
- Database passwords exposed in error messages.
- Unauthenticated access to database possible.
- Confirm relevance and exposure of Coder.
Attack Path
How an attacker could exploit the issue
An attacker can gain access to sensitive database credentials by sending malformed API requests to a vulnerable Coder instance. If the database connection fails, the system will expose a temporary AWS IAM password within the API's error response. This allows an unauthenticated attacker to retrieve the password and access the PostgreSQL database for a limited time.
- Attacker needs network access.
- Invalid API key triggers password exposure.
- Unauthorized database access for 15 minutes.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could expose temporary AWS IAM database passwords within API error responses when database connections fail. An unauthenticated attacker could potentially obtain these passwords and gain access to the PostgreSQL database for a limited time.
- Database connection credentials.
- API error responses leak credentials.
- Unauthorized database access.
Operational Fix
Recommended remediation, mitigation, and detection steps
This vulnerability in Coder may expose temporary AWS IAM database passwords through API responses during connection failures. Infrastructure and platform teams are likely responsible for addressing this. The first practical step is to identify all instances of Coder, confirm their network reachability and business criticality, and then engage the appropriate application or platform owner to plan remediation.
- Infrastructure/Platform teams own this.
- Verify Coder instances, reachability, and criticality.
- Plan remediation based on risk and vendor coordination.