Vulnerability in Drogon
CVE-2022-25297
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.016, 76.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Drogon
- Drogonframework/drogon — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 11 other repositories (8lu3sh311/CVE-PoC, ARPSyndicate/cvemon, berlin-devops/All-CVE, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-UNMANAGED-DROGONFRAMEWORKDROGON-2407243 (Exploit, Patch, Third Party Advisory)
- github.com/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb4… (Patch, Third Party Advisory)
- github.com/drogonframework/drogon/pull/1174 (Exploit, Patch, Third Party Advisory)