CVE-2023-39965: Github.com/1Panel dev/1Panel 1Panel Arbitrary File Download Vulnerability Vulnerability
MODERATECVE-2023-39965 is a MODERATE (CVSS 6.5) 1panel arbitrary file download vulnerability vulnerability (CWE-863: Incorrect Authorization) affecting Github.com/1Panel dev/1Panel libraries in the Go ecosystem. The issue involves 1panel arbitrary file download vulnerability. Remediation is available by upgrading affected packages to version 1.5.0.
CVE-2023-39965 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L).
How to Fix CVE-2023-39965
To remediate this vulnerability, upgrade all affected Github.com/1Panel dev/1Panel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/1Panel-dev/1Panel to 1.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/1Panel-dev/1Panel
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-39965, inspect your project dependencies for Github.com/1Panel dev/1Panel:
inspect dependencies for github.com/1Panel-dev/1Panel
Analyze the terminal output to locate any version of Github.com/1Panel dev/1Panel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Github.com/1Panel dev/1Panel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-39965 Affected Github.com/1Panel dev/1Panel Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/1Panel-dev/1Panel
|
Go |
≥ 1.4.3
< 1.5.0
All 1 versions
1.4.3
|
1.5.0
|
References
Frequently Asked Questions
What is CVE-2023-39965?
Which Github.com/1Panel dev/1Panel versions are affected?
What version fixes CVE-2023-39965?
Is github.com/1Panel-dev/1Panel affected?
What is the CVSS score of CVE-2023-39965?
What CWE is associated with CVE-2023-39965?
How can I check Go dependencies for CVE-2023-39965?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-85cf-gj29-f555",
"modified" : "2023-08-10T20:09:24Z",
"published" : "2023-08-10T20:09:24Z",
"aliases" : [ "CVE-2023-39965" ],
"summary" : "1Panel Arbitrary File Download vulnerability",
"details" : "### Summary\nAny file downloading vulnerability exists in 1Panel backend.\n\n### Details\nAuthenticated attackers can download arbitrary files through the API interface. This code has unauthorized access.\n\n\n### PoC\npayload:\n\nPOST /api/v1/files/download/bypath HTTP/1.1\nHost: ip\nContent-Type: application/json\n\n{\"path\":\"/etc/passwd\"}\n\n\n\n\n### Impact\nAttackers can freely download the file content on the target system. This will be caused a large amount of information leakage.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/1Panel-dev/1Panel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.3"
}, {
"fixed" : "1.5.0"
} ]
} ],
"versions" : [ "1.4.3" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-85cf-gj29-f555"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-39965"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/1Panel-dev/1Panel"
}, {
"type" : "WEB",
"url" : "https://github.com/1Panel-dev/1Panel/releases/tag/v1.5.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-10T20:09:24Z",
"nvd_published_at" : "2023-08-10T18:15:11Z"
}
}