Skip to content
Info disclosure Advisory Advanced CVE-2021-27647

(Pwn2Own) Synology DiskStation Manager StartEngCommPipeServer HandleSendMsg Out-Of-Bounds Read Information Disclosure Vulnerability

The Synology DiskStation Manager's StartEngCommPipeServer component fails to properly validate user-supplied data in the HandleSendMsg parameter, leading to an out-of-bounds read. A network-adjacent attacker without authentication could disclose sensitive information and potentially combine this with other vulnerabilities to execute arbitrary code.

STARLabs Follow

Originally disclosed on Zero Day Initiative

Medium 4.3 View original

This vulnerability allows network-adjacent attackers to disclose sensitive information on affected installations of Synology DS418play. Authentication is not required to exploit this vulnerability.

STARLabs, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the StartEngCommPipeServer does not validate the length or content of the HandleSendMsg parameter before using it to access memory, causing an out-of-bounds read.

Impact

A network-adjacent, unauthenticated attacker could disclose sensitive information and, in conjunction with other vulnerabilities, execute arbitrary code in the context of the current process.

What the attacker needed

Network-adjacent access; no authentication required

The fix

Synology has issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a memory safety bug in a network service on Synology storage devices. The software reads data from a location beyond the intended buffer, which can leak sensitive information from memory. An attacker on the same network could exploit this without logging in, and might use it as part of a larger attack to run their own code.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by STARLabs

View all

3 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.