CVE-2023-28109
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.70% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-vq59-5x26-h639

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

Product or packageVersionsReported by
play-with-docker play-with-docker<= 0.0.2CVE List
github.com/play-with-docker/play-with-docker (Go)up to 0.0.2GitHub Advisory Database
play-with-docker play_with_docker0.0.1, 0.0.2NVD

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Classification

CWE-639

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

Impact Give that CORS configuration was not correct, an attacker could use play-with-docker.com as an example, set origin header in http request as evil-play-with-docker.com, it will be echo in response header, which successfully bypass the CORS policy and retrieves basic user information.

Patches It has been fixed in lastest version, Please upgrade to latest version

Workarounds No, users have to upgrade version.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-28109 changed 2025-02-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-vq59-5x26-h639 changed 2026-09-10CC-BY-4.0
NVDCVE-2023-28109 changed 2026-06-17Public domain