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).

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.7%top 46.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/play-with-docker/play-with-dockerno fix listedGHSA-vq59-5x26-h639

Affected products (as reported)

VendorProductVersions
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

References