Skip to content

Stored Cross-Site Scripting in the "Cloned Website" Canarytoken

Low
thinkst-marco published GHSA-xj9h-3j9c-c95h Jul 23, 2024

Package

docker Canarytokens (Docker)

Affected versions

< sha-8ea5315

Patched versions

sha-8ea5315

Description

Summary

A Cross-Site Scripting vulnerability was identified in the "Cloned Website" Canarytoken, whereby the Canarytoken's creator can attack themselves.

Details

The creator of a slow-redirect Canarytoken can insert Javascript into the destination URL of their slow redirect token. When the creator later browses the management page for their own Canarytoken, the Javascript executes.

Scope of impact

This is a self-XSS. An attacker could create a Canarytoken with this self-XSS, and send the management link to a victim. When they click on it, the Javascript would execute. However, no sensitive information (ex. session information) will be disclosed to the malicious actor.

Patches

This issue is now patched on Canarytokens.org.

Users of self-hosted Canarytokens installations can update by pulling the latest Docker image (or any Docker image after sha-097d91a):

$ docker pull thinkst/canarytokens:latest

Acknowledgements

We thank Viktor Chuchurski and Francesco Lacerenza (Doyensec https://doyensec.com/).

Severity

Low

CVE ID

CVE-2024-41663

Weaknesses