CVE-2026-4328
Beschrijving NL
De Advanced Import-plug-in voor WordPress is kwetsbaar voor Server-Side Request Forgery in alle versies tot en met 1.4.6. Dit komt doordat de plug-in wp_remote_get() gebruikt om een door de gebruiker geleverde URL op te halen zonder te valideren dat de URL niet verwijst naar interne of privé-netwerkbronnen in de demo_download_and_unzip() -functie. De parameter 'demo_file' van $_POST wordt doorgegeven via sanitize_text_field() (die alleen XSS-gerelateerde ontsmetting verwerkt) en vervolgens rechtstreeks naar wp_remote_get() wanneer 'demo_file_type' is ingesteld op 'url'. Met name gebruikt de plug-in wp_safe_remote_get() op andere locaties (themasjabloonbibliotheken) die SSRF-bescherming bieden, maar deze niet gebruiken in deze kritieke Ajax-handler. Dit maakt het mogelijk voor geverifieerde aanvallers, met toegang op auteursniveau en hoger (upload_files-mogelijkheid), om webverzoeken te doen naar willekeurige locaties die afkomstig zijn van de webtoepassing, die kunnen worden gebruikt om gegevens van interne services op te vragen en te bekijken, inclusief cloud-instantie metadata-eindpunten.
Origineel (Engels) tonen
The Advanced Import plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 1.4.6. This is due to the plugin using wp_remote_get() to fetch a user-supplied URL without validating that the URL does not point to internal or private network resources in the demo_download_and_unzip() function. The 'demo_file' parameter from $_POST is passed through sanitize_text_field() (which only handles XSS-related sanitization) and then directly into wp_remote_get() when 'demo_file_type' is set to 'url'. Notably, the plugin uses wp_safe_remote_get() in other locations (theme template libraries) which would provide SSRF protection, but fails to use it in this critical AJAX handler. This makes it possible for authenticated attackers, with Author-level access and above (upload_files capability), to make web requests to arbitrary locations originating from the web application, which can be used to query and view data from internal services, including cloud instance metadata endpoints.