Skip to content
Race condition Advisory Advanced CVE-2021-26569

(Pwn2Own) Synology DiskStation Manager iscsi_snapshot_comm_core Race Condition Use-After-Free Remote Code Execution Vulnerability

The iscsi_snapshot_comm_core service on Synology DiskStation Manager lacks proper locking when operating on an object, creating a race condition that leads to a use-after-free. A local attacker without authentication could exploit this, in combination with other flaws, to escalate privileges and run code in the context of the current process.

Anonymous Follow

Originally disclosed on Zero Day Initiative

Medium 6.3 View original

This vulnerability allows local attackers to execute arbitrary code on affected installations of Synology DS418play. Authentication is not required to exploit this vulnerability.

Anonymous, 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

Impact

A local, unauthenticated attacker could combine this flaw with others to escalate privileges and execute code in the context of the current process.

What the attacker needed

Local access to the device; no authentication needed

The fix

Synology issued an update that corrects the 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.

A race condition means two parts of a program touch the same piece of memory at nearly the same time, and the program does not coordinate them. Here that timing problem lets memory be freed while it is still in use, which is called a use-after-free. An attacker already on the device could abuse this to run their own code with higher privileges.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by Anonymous

View all

2,270 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.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.