Auth bypass in Play-With-Docker

CVE-2023-28109

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.

Vulnerability class: IDOR (Insecure Direct Object Reference)

EPSS: 0.007 (49.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-28109?
CVE-2023-28109 is a medium-severity vulnerability in Play-With-Docker, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 6.5/10. Published 2023-03-16.
How severe is CVE-2023-28109?
Medium severity. CVSS v3 base score is 6.5 out of 10.