GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Check your stack
DRUPAL-CONTRIB-2024-060unknown

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 · OSV
Applies when

This 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.

drupal/postfile Packagist:https://packages.drupal.org/8
Affected rangeRecorded fix
Earlier releases before 1.0.2Ecosystem versions1.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".

References