Skip to main content

Hacktricks Wordpress Jun 2026

: Implement Two-Factor Authentication (2FA) and limit login attempts.

xmlrpc.php is a legacy feature used for pingbacks and remote posting. It is often enabled by default.

: It provides specific commands and tool suggestions (like WPScan ) for identifying known vulnerabilities in plugins and themes.

Allows an attacker to try hundreds of passwords in a single HTTP request, bypassing standard rate limiting. hacktricks wordpress

"I've stopped the redirect. But you're still compromised. The attacker has wp-config.php . Change every password. Salt the hashes. And for God's sake, remove wp-file-manager ."

https://veridianhome.com/wp-content/themes/legacy-core/inc/backup-handler.php

: Add define( 'DISALLOW_FILE_EDIT', true ); to your wp-config.php to prevent admins from editing PHP files through the dashboard. : Implement Two-Factor Authentication (2FA) and limit login

Identifying installed plugins and themes is crucial, as they are the most common entry points.

: If not needed, disable xmlrpc.php to prevent amplified brute-force attacks.

There it was. A rogue cron job running wget from a shady IP in Estonia every Wednesday at 6 PM, pulling a malware.sh script. : It provides specific commands and tool suggestions

Once a username is identified, attackers target wp-login.php or xmlrpc.php . The xmlrpc.php file is particularly dangerous because it allows for "multicall," where hundreds of password guesses can be sent in a single HTTP request, bypassing simple rate-limiting. 2. Plugin and Theme Vulnerabilities

Implementing and strong password policies. Restricting access to the wp-admin.php file by IP address.

: Allows attackers to read sensitive files like wp-config.php or execute remote code.