Description
A vulnerability in Veeam ONE allows an unauthenticated user to gain information about the SQL server connection Veeam ONE uses to access its configuration database. This may lead to remote code execution on the SQL server hosting the Veeam ONE configuration database.
EPSS Score:
1%
EUVD-2023-42346: Comprehensive Technical Analysis
Executive Summary
EUVD-2023-42346 (CVE-2023-38547) represents a critical information disclosure vulnerability in Veeam ONE that can escalate to remote code execution on the backend SQL Server. With a CVSS score of 9.9 (Critical), this vulnerability poses a severe risk to organizations utilizing Veeam ONE for backup infrastructure monitoring and management.
1. Vulnerability Assessment and Severity Evaluation
Severity Classification
- CVSS v3.0 Base Score: 9.9 (Critical)
- EPSS Score: 1.0 (100% probability of exploitation in the wild)
- Vector String:
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS Metric Analysis
| Metric | Value | Interpretation |
|---|---|---|
| Attack Vector (AV) | Network (N) | Exploitable remotely over network |
| Attack Complexity (AC) | Low (L) | No specialized conditions required |
| Privileges Required (PR) | Low (L) | Basic authentication needed |
| User Interaction (UI) | None (N) | Fully automated exploitation |
| Scope (S) | Changed (C) | Impact extends beyond vulnerable component |
| Confidentiality (C) | High (H) | Total information disclosure |
| Integrity (I) | High (H) | Complete system compromise possible |
| Availability (A) | High (H) | Total service disruption possible |
Critical Observations
Note: There is a discrepancy between the description stating "unauthenticated user" and the CVSS vector indicating PR:L (Low privileges required). This suggests either:
- The vulnerability description may be imprecise
- Initial information disclosure requires no authentication, but exploitation requires low privileges
- The CVSS scoring may need revision
The EPSS score of 1.0 indicates this vulnerability is either actively exploited or has a very high likelihood of exploitation, making it a priority for immediate remediation.
2. Potential Attack Vectors and Exploitation Methods
Attack Chain
[Phase 1: Information Disclosure]
Unauthenticated/Low-Privilege Access
↓
Veeam ONE Application Interface
↓
SQL Connection String Exposure
↓
Credentials/Connection Details Leaked
[Phase 2: Privilege Escalation]
SQL Server Connection Information
↓
Direct SQL Server Access
↓
Remote Code Execution on SQL Server
↓
Lateral Movement to Backup Infrastructure
Exploitation Methodology
Stage 1: Information Gathering
- Target: Veeam ONE web interface or API endpoints
- Method: Exploit information disclosure vulnerability to extract SQL connection strings
- Data Exposed:
- SQL Server hostname/IP address
- Database name
- Authentication credentials (potentially)
- Connection parameters
Stage 2: SQL Server Compromise
- Technique: Use disclosed credentials to authenticate to SQL Server
- Exploitation Paths:
xp_cmdshellstored procedure execution- SQL Server Agent job creation
- CLR assembly injection
- Linked server abuse
- OLE Automation procedures
Stage 3: Post-Exploitation
- Objectives:
- Access to backup configuration data
- Credential harvesting from Veeam ONE database
- Lateral movement to backup repositories
- Ransomware deployment targeting backup infrastructure
- Data exfiltration from backup metadata
Attack Scenarios
Scenario A: External Threat Actor
Internet → Veeam ONE (exposed) → SQL Server → Backup Infrastructure
Scenario B: Insider Threat
Internal Network → Low-Privilege Account → SQL Connection Info → RCE
Scenario C: Ransomware Campaign
Initial Access → Veeam ONE Compromise → Backup Destruction → Encryption
3. Affected Systems and Software Versions
Vulnerable Products
| Product | Affected Versions | Status |
|---|---|---|
| Veeam ONE | Version 11 (all builds ≤11) | Vulnerable |
| Veeam ONE | Version 11a (all builds ≤11a) | Vulnerable |
| Veeam ONE | Version 12 (all builds ≤12) | Vulnerable |
Infrastructure Components at Risk
-
Veeam ONE Server
- Web interface components
- API endpoints
- Configuration services
-
SQL Server Backend
- Veeam ONE configuration database
- SQL Server instance hosting the database
- Potentially other databases on same instance
-
Connected Infrastructure
- Veeam Backup & Replication servers
- Backup repositories
- Virtual infrastructure (VMware vCenter, Hyper-V)
- Cloud connect services
Deployment Considerations
Organizations with the following configurations face elevated risk:
- Veeam ONE exposed to internet or untrusted networks
- Shared SQL Server instances hosting multiple databases
- SQL Server with elevated privileges or domain admin access
- Integrated backup infrastructure with limited network segmentation
4. Recommended Mitigation Strategies
Immediate Actions (Priority 1 - Within 24-48 Hours)
1. Apply Security Patches
Action: Update to patched version immediately
Reference: https://www.veeam.com/kb4508
Verification: Check version post-update
2. Network Isolation
- Restrict Veeam ONE access to management networks only
- Implement firewall rules blocking external access
- Deploy VPN/jump host for remote administration
- Segment SQL Server on isolated VLAN
3. Access Control Hardening
- Review and minimize user accounts with Veeam ONE access
- Implement multi-factor authentication (MFA)
- Audit recent authentication logs for suspicious activity
- Disable unnecessary service accounts
Short-Term Mitigations (Priority 2 - Within 1 Week)
4. SQL Server Security Hardening
-- Disable xp_cmdshell if not required
EXEC sp_configure 'xp_cmdshell', 0;
RECONFIGURE;
-- Review and restrict SQL Server permissions
-- Implement least privilege for Veeam ONE service account
-- Enable SQL Server auditing
5. Monitoring and Detection
Deploy monitoring for:
- Unusual SQL Server connections
- Failed authentication attempts to Veeam ONE
- Abnormal database queries
- Lateral movement indicators
- Changes to backup configurations
6. Credential Rotation
- Change SQL Server service account passwords
- Rotate Veeam ONE database connection credentials
- Update application connection strings
- Implement credential vaulting (e.g., CyberArk, HashiCorp Vault)
Long-Term Strategic Controls (Priority 3 - Ongoing)
7. Architecture Review
- Implement defense-in-depth for backup infrastructure
- Deploy dedicated SQL Server instances for critical applications
- Establish network micro-segmentation
- Implement zero-trust architecture principles
8. Vulnerability Management Program
- Subscribe to Veeam security advisories
- Implement automated vulnerability scanning
- Establish patch management SLAs
- Conduct regular security assessments
9. Incident Response Preparation
- Develop backup infrastructure compromise playbooks
- Test backup restoration procedures
- Maintain offline/immutable backup copies
- Conduct tabletop exercises for ransomware scenarios
Compensating Controls (If Patching Delayed)
1. Web Application Firewall (WAF)
- Deploy WAF rules to filter malicious requests
- Block suspicious API calls
2. Database Activity Monitoring (DAM)
- Real-time monitoring of SQL Server access
- Alert on unauthorized connection attempts
3. Network Access Control
- Whitelist only authorized IP