CVE-2025-30206CWE-321CWE-453CWE-547

Dpanel's hard-coded JWT secret leads to remote code execution

Critical · published April 15, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
59.3
In the wild
Unconfirmed
What it is

🚨 A hardcoded JWT secret in Dpanel's default setup can turn your Docker visualization into a hacker's playground! 🔥 Think of it like a restaurant that leaves its recipe book open on the counter for anyone to see. A crafty cook could just peek at the ingredients and whip up all the signature dishes without breaking a sweat! An attacker could impersonate privileged users and gain full control of the host machine, leading to devastating consequences. We're talking unauthorized data access, execution of malicious commands, and even lateral movement within your network. This vulnerability could open doors to severe breaches that jeopardize the entire system!

Put simply

Think of it like a restaurant that leaves its recipe book open on the counter for anyone to see. A crafty cook could just peek at the ingredients and whip up all the signature dishes without breaking a sweat! This vulnerability allows attackers to forge valid JWT tokens by exploiting a hardcoded secret in Dpanel's configuration. With these tokens, they can bypass authentication, impersonate users, and gain unauthorized administrative access to the system.

What to do

An attacker could impersonate privileged users and gain full control of the host machine, leading to devastating consequences. We're talking unauthorized data access, execution of malicious commands, and even lateral movement within your network. This vulnerability could open doors to severe breaches that jeopardize the entire system! Immediately upgrade Dpanel to version 1.6.1 to close this security hole. As a workaround, replace the hardcoded secret with a securely generated value stored in a secure configuration location. Regularly audit your configurations to ensure no similar secrets are hardcoded! You've got this! By taking these steps, you’ll fortify your system and kick those vulnerabilities to the curb! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00902 · 59.3th percentile
Weaknesses
CWE-321 · Use of Hard-coded Cryptographic Key; CWE-453 · Insecure Default Variable Initialization; CWE-547 · Use of Hard-coded, Security-relevant Constants
Published
2025-04-15T19:14Z
EPSS history
Timeline
  • 15 APR 19:14Z
    Dpanel's hard-coded JWT secret leads to remote code execution
    cvelistv5