The nd-shortcodes plugin before 6.0 for WordPress has a nopriv_ AJAX action that allows modification of the siteurl setting.
https://wpvulndb.com/vulnerabilities/9485
https://wordpress.org/plugins/nd-shortcodes/#developers
https://threatpost.com/wordpress-plugins-exploited-in-ongoing-attack-researchers-warn/147671/