drogonframework/drogon: Files or Directories Accessible to External Parties
CVE-2022-25297 is a high-severity files or directories accessible to external parties vulnerability in drogonframework/drogon, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists version 1.7.5 as the first without the flaw, so updating drogonframework/drogon to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.65% chance of exploitation within 30 days, higher than 77% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update drogonframework/drogon to 1.7.5 or a later version.
- Update Drogon to 1.7.5 or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Drogonframework/drogon | drogonframework/drogon | before 1.7.5 | 1.7.5 |
| Drogon | Drogon | before 1.7.5 | 1.7.5 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | CNA (snyk.io) |
| CVSS 3.1 | 8.8 | High | NVD |
| CVSS 2.0 | 6.5 | Medium | NVD |
Official description
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Files or Directories Accessible to External Parties
The product makes files or directories accessible to unauthorized actors, even though they should not be.
How developers prevent this class of flaw
- When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to disable public access.
More Files or Directories Accessible to External Parties vulnerabilities (CWE-552)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- github.com/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb447Third Party Advisory
- github.com/drogonframework/drogon/pull/1174Exploit, Third Party Advisory
- snyk.io/vuln/SNYK-UNMANAGED-DROGONFRAMEWORKDROGON-2407243Exploit, Third Party Advisory
Recent Files or Directories Accessible to External Parties vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Apache Flink Improper Access Control Exploited
- 7.8 High severity
Roundcube Webmail File Disclosure Exploited
- 5.5 Medium severity
ImageMagick Arbitrary File Deletion Exploited
Spotted an error? Tell us.