Directorist < 7.0.6.2 - Cross-Site Request Forgery to Arbitrary File Upload
The Directorist plugin for WordPress before 7.0.6.2 does not verify a CSRF nonce on its front-end listing submission handler (the add_listing_action AJAX action, registered for unauthenticated users via wp_ajax_nopriv). An attacker can forge a listing submission - including file uploads - on behalf of a logged-in user, leading to arbitrary file upload and potential remote code execution. The fix adds directorist_verify_nonce() to atbdp_submit_listing(). This template detects the missing nonce check by sending a listing submission with no nonce: a vulnerable build processes it (failing later at field validation) while a patched build rejects it at the nonce gate. References: https://nvd.nist.gov/vuln/detail/CVE-2021-24981 https://github.com/advisories/GHSA-g47h-745c-4p4f https://wpscan.com/vulnerability/4c45df6d-b3f6-49e5-8b1f-edd32a12d71c/ https://plugins.trac.wordpress.org/changeset?old_path=/directorist/tags/7.0.6.1&new_path=/directorist/tags/7.0.6.2 Remediation: Update Directorist to 7.0.6.2 or later, which verifies the directorist nonce before processing a listing submission.
10 assets checked · domain, subdomain, ipv4