Horizon Alert
Summary of the vulnerability and why it matters
A vulnerability in the lmdeploy OpenAI-compatible API server could allow unauthenticated attackers to access internal services and cloud metadata by crafting a request with a malicious image URL. This could lead to unauthorized information disclosure or access to internal resources. The main concern is confirming relevance and exposure.
- Server could be tricked into revealing internal information.
- Attackers can bypass safety checks to access services.
- Confirm if our services are exposed to this risk.
Attack Path
How an attacker could exploit the issue
An unauthenticated attacker can exploit this vulnerability by sending a specially crafted request to the chat completions endpoint. This request would include an image URL that redirects to an internal service or cloud metadata endpoint. The API server follows this redirect, bypassing its safety checks and allowing the attacker to access sensitive internal information.
- No authentication needed to attack.
- Triggered by a redirecting image URL.
- Risk of accessing internal services and metadata.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow unauthenticated attackers to access internal services and sensitive cloud metadata endpoints. This is possible when the API server processes a crafted image URL that redirects to internal targets, bypassing safety checks designed to prevent access to restricted network locations.
- Internal service and cloud metadata.
- Crafted image URL with HTTP redirect.
- Unauthorized access to internal resources.
Operational Fix
Recommended remediation, mitigation, and detection steps
This vulnerability in lmdeploy's API server is likely to affect teams responsible for application deployment and integration. The primary immediate action is to identify all instances of the affected technology, confirm their accessibility and criticality, and then assign ownership for remediation.
- Application and platform teams own this.
- Verify external accessibility and criticality.
- Plan targeted remediation and vendor coordination.