Vulnerability · Published Mar 16, 2023 · Assigned by GitHub_M
CVE-2023-28109Play With Docker vulnerable to Authorization Bypass Through User-Controlled Key
Medium 6.5
In plain English
A medium-severity authorization bypass via user-controlled key in play-with-docker from play-with-docker. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities).
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/play-with-docker/play-with-docker | no fix listed | GHSA-vq59-5x26-h639 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| play-with-docker | play-with-docker | <= 0.0.2 |
Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N