DRUPAL-CONTRIB-2023-053 The Xsendfile module enables fast transfer for private files in Drupal.

Not scored Published

An attacker can read private files by exploiting a path traversal vulnerability in the Drupal Xsendfile module's image style controller.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is DRUPAL-CONTRIB-2023-053?

DRUPAL-CONTRIB-2023-053 is a path traversal vulnerability in drupal/xsendfile, published on 29 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Xsendfile module enables fast transfer for private files in Drupal.

In order to control private file downloads, the module overrides ImageStyleDownloadController, for which a vulnerability was disclosed in SA-CORE-2023-005. The Xsendfile module was still based on an insecure version of ImageStyleDownloadController.

Which versions are affected by DRUPAL-CONTRIB-2023-053?

Linux distribution packages (1)
drupal/xsendfile Packagist:https://packages.drupal.org/8All versions1.2.0

How do I fix DRUPAL-CONTRIB-2023-053?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is DRUPAL-CONTRIB-2023-053 being exploited?

There is no known exploitation of DRUPAL-CONTRIB-2023-053 in the wild and no public exploit code.

Sources

Is DRUPAL-CONTRIB-2023-053 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free