Skip to content

Authorization Bypass Through User-Controlled Key play-with-docker

Moderate
marcosnils published GHSA-vq59-5x26-h639 Mar 16, 2023 · 1 comment

Package

gomod github.com/play-with-docker/play-with-docker (Go)

Affected versions

< = 0.0.2

Patched versions

latest

Description

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.

@marcosnils
Copy link
Contributor Author

Severity

Moderate
6.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

CVE ID

CVE-2023-28109

Weaknesses

Credits