Skip to main content
Menu
Advisories

Arbitrary file read and SSRF via unrestricted asset URL or path

GHSA-WQ63-9PMC-5MWXPublished Updated GitHub

Description

craftcms/feed-me accepts an attacker-controlled asset source value during asset imports and forwards it into the download helper without enforcing the documented “web-root-relative only” boundary. A user who can configure or trigger a Feed Me asset import can point the asset source at an arbitrary local file, such as /etc/hosts, or an internal URL, such as 127.0.0.1.

The plugin reads the supplied resource and stores the returned bytes into a Craft asset volume. That crosses a trust boundary from importing data into the server’s local filesystem and localhost or internal network access, producing a real disclosure primitive rather than normal import behavior.

Impact

An attacker with import control can read arbitrary local files accessible to the PHP process and fetch loopback or internal HTTP resources from the server.

Affected versions

References

GitHub · craftcms/feed-me