Simple 301 Redirects by BetterLinks <= 2.0.3 - Unauthenticated Arbitrary Redirect Import
The Simple 301 Redirects by BetterLinks plugin for WordPress before 2.0.4 registers its import_data() handler on admin_init with no capability check. In versions 2.0.0 - 2.0.2 the import block also has no nonce check, so an unauthenticated attacker can import an arbitrary set of 301 redirects by POSTing a JSON file to admin-post.php, pointing any path on the site to an attacker-controlled destination (phishing, malware distribution, SEO abuse). 2.0.3 added a nonce check (partial fix) and 2.0.4 added the capability check (full fix). This template proves impact by importing a redirect with no authentication and then confirming the source path now returns a 301 to the injected destination. References: https://nvd.nist.gov/vuln/detail/CVE-2021-24353 https://wpscan.com/vulnerability/ce8f9648-30fb-4fb9-894e-879dc0f26f98/ https://patchstack.com/database/wordpress/plugin/simple-301-redirects-addon-bulk-uploader/vulnerability/ https://plugins.trac.wordpress.org/changeset?old_path=/simple-301-redirects/tags/2.0.3&new_path=/simple-301-redirects/tags/2.0.4 Remediation: Update Simple 301 Redirects by BetterLinks to 2.0.4 or later, which adds a capability check before the import and export routines.
10 assets checked · domain, subdomain, ipv4