Vulnerability Details : CVE-2023-38505
Potential exploit
DietPi-Dashboard is a web dashboard for the operating system DietPi. The dashboard only allows for one TLS handshake to be in process at a given moment. Once a TCP connection is established in HTTPS mode, it will assume that it should be waiting for a handshake, and will stay this way indefinitely until a handshake starts or some error occurs. In version 0.6.1, this can be exploited by simply not starting the handshake, preventing any other TLS handshakes from getting through. An attacker can lock the dashboard in a state where it is waiting for a TLS handshake from the attacker, who won't provide it. This prevents any legitimate traffic from getting to the dashboard, and can last indefinitely. Version 0.6.2 has a patch for this issue. As a workaround, do not use HTTPS mode on the open internet where anyone can connect. Instead, put a reverse proxy in front of the dashboard, and have it handle any HTTPS connections.
Products affected by CVE-2023-38505
- cpe:2.3:a:dietpi-dashboard_project:dietpi-dashboard:0.6.1:*:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-38505
0.44%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 61 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-38505
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2023-38505
-
The product's resource pool is not large enough to handle peak demand, which allows an attacker to prevent others from accessing the resource by using a (relatively) large number of requests for resources.Assigned by: security-advisories@github.com (Secondary)
-
The product properly checks for the existence of a lock, but the lock can be externally controlled or influenced by an actor that is outside of the intended sphere of control.Assigned by: security-advisories@github.com (Secondary)
-
The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-38505
-
https://github.com/ravenclaw900/DietPi-Dashboard/security/advisories/GHSA-3jr4-9rxf-fr44
Insufficient TLS Handshake Pool leading to Denial of Service · Advisory · ravenclaw900/DietPi-Dashboard · GitHubVendor Advisory
-
https://github.com/ravenclaw900/DietPi-Dashboard/pull/606
refactor(backend): replace TLS implementation with `flexible-hyper-server-tls` by ravenclaw900 · Pull Request #606 · ravenclaw900/DietPi-Dashboard · GitHubIssue Tracking;Patch
-
https://github.com/ravenclaw900/DietPi-Dashboard/commit/79cd78615d28f577454415e4baafe4dcd9d09666
fix(backend): replace TLS implementation with `flexible-hyper-server-… · ravenclaw900/DietPi-Dashboard@79cd786 · GitHubPatch
-
https://asciinema.org/a/8nRKbdf7AkPLmP3QxFZUSmPwp?t=7
Dashboard Old TLS - asciinemaExploit
Jump to