CVE-2023-28109 Play With Docker vulnerable to Authorization Bypass Through User-Controlled Key

Medium 6.5 Published Updated

Attackers can bypass CORS policies via domain hijacking to retrieve basic user information from the Play With Docker web application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-28109?

CVE-2023-28109 is a medium-severity authentication bypass vulnerability in play-with-docker, published on 16 Mar 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Play With Docker is a browser-based Docker playground. Versions 0.0.2 and prior are vulnerable to domain hijacking. Because CORS configuration was not correct, an attacker could use `play-with-docker.com` as an example and set the origin header in an http request as `evil-play-with-docker.com`. The domain would echo in response header, which successfully bypassed the CORS policy and retrieved basic user information. This issue has been fixed in commit ed82247c9ab7990ad76ec2bf1498c2b2830b6f1a. There are no known workarounds.

Weakness: CWE-639

Which versions are affected by CVE-2023-28109?

2 open source packages ship an affected version, including github.com/play-with-docker/play-with-docker. It affects 1 product.

PackageAffectedFixed in
github.com/play-with-docker/play-with-docker GoAll versions to 0.0.2None
github.com/play-with-docker/play-with-docker GoAll versions to 0.0.2None

Products include Play-With-Docker Play With Docker.

How do I fix CVE-2023-28109?

No fix has been published for CVE-2023-28109 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2023-28109 being exploited?

There is no known exploitation of CVE-2023-28109 in the wild and no public exploit code.

Sources

Also known as GHSA-vq59-5x26-h639.

Is CVE-2023-28109 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free