The module creates an endpoint on the site at /postfile/upload that accepts a POST request for uploading a single file into a specified file system (public,…
Impact
The module creates an endpoint on the site at /postfile/upload that accepts a POST request for uploading a single file into a specified file system (public, private, etc).
Source excerpt · OSVThis vulnerability is mitigated by the fact that an attacker must have a role with the permission "postfile upload".
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.0.2Ecosystem versions | 1.0.2 |
Version evidence: OSV · DRUPAL-CONTRIB-2024-060
View original version evidence (0 explicit versions)
Original source description
The module creates an endpoint on the site at /postfile/upload that accepts a POST request for uploading a single file into a specified file system (public, private, etc).
This module accepts any uploaded file extension, including dangerous file formats so it can be used to bypass the allow_insecure_uploads config.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "postfile upload".