CyberSecBulletin
CVE-2022-25297NVD status: Modified

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.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update drogonframework/drogon to 1.7.5 or a later version.
  2. Update Drogon to 1.7.5 or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
Drogonframework/drogondrogonframework/drogonbefore 1.7.51.7.5
DrogonDrogonbefore 1.7.51.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 systemScoreSeverityScored by
CVSS 3.17.5HighCNA (snyk.io)
CVSS 3.18.8HighNVD
CVSS 2.06.5MediumNVD

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

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Recent Files or Directories Accessible to External Parties vulnerabilities

Spotted an error? Tell us.