CVE-2021-27561 — Yealink Device Management Server-Side Request Forgery (SSRF) Vulnerability

CVE-2021-27561

Yealink Device Management — Unauthenticated SSRF and Command Injection Enabling Remote Code Execution Against VoIP Phone Management Infrastructure

Yealink Device Management is the centralized management platform for Yealink IP phones and SIP video conferencing endpoints — widely deployed in enterprise and SMB unified communications environments. The platform allows IT administrators to provision, configure, and update Yealink VoIP hardware across the organization. Because the device management server can push firmware and configuration to all managed phones, compromise of this server provides an attacker with control over the organization's entire VoIP infrastructure.

Overview

CVE-2021-27561 is a server-side request forgery (SSRF) and OS command injection vulnerability (CWE-78) in the Yealink Device Management platform. An unauthenticated remote attacker can send requests to the Yealink Device Management server that cause it to perform arbitrary HTTP requests to internal or external targets (SSRF), and in combination with CVE-2021-27562 (a related command injection vulnerability), can achieve remote code execution. The CVSS score reflects the combined unauthenticated RCE impact.

Affected Versions

Product Vulnerable Fixed
Yealink Device Management Platform Versions prior to fix Contact Yealink for patched version

Technical Details

The Yealink Device Management server exposes a phonebook/provisioning URL fetch function that allows specifying a URL for the server to retrieve. This functionality lacks authentication and URL scheme/host validation:

  • SSRF vector: The server fetches attacker-specified URLs without authentication, allowing internal network reconnaissance and access to internal services not reachable from the internet
  • Command injection: CVE-2021-27562 (companion vulnerability) allows OS command injection when combined with the SSRF, providing a path to full RCE on the device management server
  • No authentication required: Both vulnerabilities are exploitable without any credentials
  • Impact: Full code execution on the Yealink Device Management server, with subsequent ability to modify phone configurations and push malicious firmware to all managed Yealink devices
  • VoIP infrastructure risk: An attacker who compromises the management server can manipulate SIP configurations, eavesdrop on calls, redirect calls, or brick phones via malicious firmware

Discovery

Identified by security researchers and reported publicly. The simultaneous CISA KEV addition with CVE-2021-27562 (the companion command injection) reflects that both vulnerabilities were being exploited together in the wild.

Exploitation Context

Confirmed active exploitation prompted the CISA KEV addition in November 2021. Yealink device management servers that are internet-accessible (deployed for remote administration of phones) are directly reachable by attackers. VoIP infrastructure compromise can support business email compromise (BEC) fraud, eavesdropping on corporate communications, and lateral movement into the corporate network through the VoIP VLAN.

Remediation

  1. Apply the Yealink Device Management patch — contact Yealink support for the patched version
  2. Restrict internet access to the Yealink Device Management server — it should only be accessible from the internal network or VPN-connected administrators
  3. If internet exposure was present, check for signs of exploitation: unexpected phone configuration changes, unusual outbound requests from the management server
  4. Place the Yealink Device Management server in a dedicated VoIP management VLAN with strict access controls
  5. Review phone firmware versions on managed devices for unexpected firmware changes following potential compromise

Key Details

PropertyValue
CVE ID CVE-2021-27561
Vendor / Product Yealink — Device Management
NVD Published2021-10-15
NVD Last Modified2025-11-10
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-78 find similar ↗
CISA KEV Added2021-11-03
CISA KEV Deadline2021-11-17
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2021-11-17. Apply updates per vendor instructions.

Timeline

DateEvent
2021-10-15CVE published
2021-11-03Added to CISA Known Exploited Vulnerabilities catalog
2021-11-17CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2021-27561 Vulnerability Database
CISA KEV Catalog Entry US Government