CVE-2023-22726
"Act Artifact Server Path Traversal Vulnerability"
Description
act is a project which allows for local running of github actions. The artifact server that stores artifacts from Github Action runs does not sanitize path inputs. This allows an attacker to download and overwrite arbitrary files on the host from a Github Action. This issue may lead to privilege escalation. The /upload endpoint is vulnerable to path traversal as filepath is user controlled, and ultimately flows into os.Mkdir and os.Open. The /artifact endpoint is vulnerable to path traversal as the path is variable is user controlled, and the specified file is ultimately returned by the server. This has been addressed in version 0.2.40. Users are advised to upgrade. Users unable to upgrade may, during implementation of Open and OpenAtEnd for FS, ensure to use ValidPath() to check against path traversal or clean the user-provided paths manually.
INFO
Published Date :
Jan. 20, 2023, 10:15 p.m.
Last Modified :
Feb. 3, 2023, 3:56 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2023-22726 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-22726
.
URL | Resource |
---|---|
https://github.com/nektos/act/blob/master/pkg/artifacts/server.go#L65 | Third Party Advisory |
https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#L245 | Third Party Advisory |
https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#LL103C2-L103C2 | Third Party Advisory |
https://github.com/nektos/act/commit/63ae215071f94569d910964bdee866d91d6e3a10 | Patch Third Party Advisory |
https://github.com/nektos/act/issues/1553 | Issue Tracking Third Party Advisory |
https://github.com/nektos/act/security/advisories/GHSA-pc99-qmg4-rcff | Exploit Third Party Advisory |
https://securitylab.github.com/advisories/GHSL-2023-004_act/ | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
CVE-2023-22726
PowerShell VBScript
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-22726
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-22726
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Feb. 03, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/nektos/act/blob/master/pkg/artifacts/server.go#L65 No Types Assigned https://github.com/nektos/act/blob/master/pkg/artifacts/server.go#L65 Third Party Advisory Changed Reference Type https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#L245 No Types Assigned https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#L245 Third Party Advisory Changed Reference Type https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#LL103C2-L103C2 No Types Assigned https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#LL103C2-L103C2 Third Party Advisory Changed Reference Type https://github.com/nektos/act/commit/63ae215071f94569d910964bdee866d91d6e3a10 No Types Assigned https://github.com/nektos/act/commit/63ae215071f94569d910964bdee866d91d6e3a10 Patch, Third Party Advisory Changed Reference Type https://github.com/nektos/act/issues/1553 No Types Assigned https://github.com/nektos/act/issues/1553 Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/nektos/act/security/advisories/GHSA-pc99-qmg4-rcff No Types Assigned https://github.com/nektos/act/security/advisories/GHSA-pc99-qmg4-rcff Exploit, Third Party Advisory Changed Reference Type https://securitylab.github.com/advisories/GHSL-2023-004_act/ No Types Assigned https://securitylab.github.com/advisories/GHSL-2023-004_act/ Exploit, Third Party Advisory Added CWE NIST CWE-22 Added CPE Configuration OR *cpe:2.3:a:act_project:act:*:*:*:*:*:go:*:* versions up to (excluding) 0.2.40
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-22726
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-22726
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.56 }} 0.10%
score
0.78041
percentile