CVE-2023-28109

Authorization Bypass Through User-Controlled Key in go/github.com/play-with-docker/play-with-docker

Identifiers

CVE-2023-28109, GHSA-vq59-5x26-h639

Package Slug

go/github.com/play-with-docker/play-with-docker

Vulnerability

Authorization Bypass Through User-Controlled Key

Description

Play With Docker is a browser-based Docker playground. Versions 0.0.2 and prior is 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 Versions

All versions starting from 0.0.1 up to 0.0.2

Solution

Unfortunately, there is no solution available yet.

Last Modified

2023-03-20

source