Vulnerability Details : CVE-2022-25297
Potential exploit
This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.
Products affected by CVE-2022-25297
- cpe:2.3:a:drogon:drogon:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25297
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 26 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25297
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:P/A:P |
8.0
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.6
|
5.9
|
Snyk |
CWE ids for CVE-2022-25297
-
The product makes files or directories accessible to unauthorized actors, even though they should not be.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-25297
-
https://github.com/drogonframework/drogon/pull/1174
Prevent malformed upload path causing arbitrary write by Kirill89 · Pull Request #1174 · drogonframework/drogon · GitHubExploit;Patch;Third Party Advisory
-
https://github.com/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb447
Prevent malformed upload path causing arbitrary write (#1174) · drogonframework/drogon@3c78532 · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-UNMANAGED-DROGONFRAMEWORKDROGON-2407243
Arbitrary File Write in drogonframework/drogon | CVE-2022-25297 | SnykExploit;Patch;Third Party Advisory
Jump to