Skip to content
OpenAdvisories
Critical · 9.8 Scanner template CVE-2023-27584 EUVD-2024-2812GHSA-hpc8-7wpm-889wGO-2024-3136

Dragonfly2 vulnerable to hard coded cyptographic key

Published Sep 19, 2024 · Updated Sep 26, 2024 · Assigned by GitHub_M

Description

Dragonfly is an open source P2P-based file distribution and image acceleration system. It is hosted by the Cloud Native Computing Foundation (CNCF) as an Incubating Level Project. Dragonfly uses JWT to verify user. However, the secret key for JWT, "Secret Key", is hard coded, which leads to authentication bypass. An attacker can perform any action as a user with admin privileges. This issue has been addressed in release version 2.0.9. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

VendorProductAffectedFixed
dragonflyoss Dragonfly2 < 2.0.9 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Go d7y.io/dragonfly/v2 >= 2.1.0-alpha.0, < 2.1.0-beta.1 2.1.0-beta.1 GHSA-hpc8-7wpm-889w
Go d7y.io/dragonfly/v2 < 2.0.9-rc.2 2.0.9-rc.2 GHSA-hpc8-7wpm-889w
Go d7y.io/dragonfly/v2 < 2.1.0-beta.1 2.1.0-beta.1 GO-2024-3136

References