(Pwn2Own) OPC Foundation UA .NET Standard CreateSessionRequest Race Condition Denial-of-Service Vulnerability
The OPC UA .NET Standard stack mishandles concurrent session creation because it does not lock properly when operating on a shared object. A remote, unauthenticated attacker could exploit this to cause a denial-of-service condition against the application.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of OPC Foundation UA .NET Standard. Authentication is not required to exploit this vulnerability.
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 a race condition caused by missing synchronisation (locking) around shared session state during session creation.
Impact
A remote, unauthenticated attacker could create a denial-of-service condition against the application.
What the attacker needed
Network access to the OPC UA service; no authentication required
The fix
The vendor issued an update to correct 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.
When a program handles several requests at the same time, it must coordinate access to shared data, otherwise the requests can interfere with each other. Here the session-handling code did not do that coordination, so an attacker sending requests could make the service fail. No login was needed, so anyone who could reach the service could try it.
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.