WordPress Website email vulnerability

LiveTevez

Junior Member
Joined
Jan 5, 2019
Messages
149
Reaction score
89
So i have website in WordPress and I'm using wordfence and cloudflare as security.

But I'm having a big problem is somehow don't ask me how, my competitors seems to be able to get all my customers email and starting to email them with offers etc.

What could it be and how can i fix this issue?
 
So i have website in WordPress and I'm using wordfence and cloudflare as security.

But I'm having a big problem is somehow don't ask me how, my competitors seems to be able to get all my customers email and starting to email them with offers etc.

What could it be and how can i fix this issue?
That's a very big issue. I suggest you to close the shop now, until you solve the issue, to avoid further problems

Are you host that site on a shared hosting server?
Do anyone else have access to your stuff (WordPress dashboard, cPanel, database - with admin credentials)?

---LE
If you host it on a shared server, move it to a dedicated one.
If anyone else have access to your stuff (an ex developer, an ex business partner), delete his access.

Other things to do:
1. Backup your site.
2. Scan the site for malware (nulled theme, nulled plugins and so on).
3. Change your user credentials and the salt keys. - You should also let your customers know about the issue and ask them to change their credentials.
4. After you are sure the site is clean, upload it on a new server (again, avoid the shared ones).

Good luck!
M
 
Last edited:
That's a very big issue. I suggest you to close the shop now, until you solve the issue, to avoid further problems

Are you host that site on a shared hosting server?
Do anyone else have access to your stuff (WordPress dashboard, cPanel, database - with admin credentials)?

---LE
If you host it on a shared server, move it to a dedicated one.
If anyone else have access to your stuff (an ex developer, an ex business partner), delete his access.

Other things to do:
1. Backup your site.
2. Scan the site for malware (nulled theme, nulled plugins and so on).
3. Change your user credentials and the salt keys. - You should also let your customers know about the issue and ask them to change their credentials.
4. After you are sure the site is clean, upload it on a new server (again, avoid the shared ones).

Good luck!
M
This is a good advise OP. Make a backup and then change your server immediately to something that you control yourself a vps or dedicated. Look into digitalocean,linode,vultr etc and also make sure the website is not hacked or using nulled,cracked themes plugins. If need be create a new website from scratch and last thing look into your email provider.
 
That's a very big issue. I suggest you to close the shop now, until you solve the issue, to avoid further problems

Are you host that site on a shared hosting server?
Do anyone else have access to your stuff (WordPress dashboard, cPanel, database - with admin credentials)?

---LE
If you host it on a shared server, move it to a dedicated one.
If anyone else have access to your stuff (an ex developer, an ex business partner), delete his access.

Other things to do:
1. Backup your site.
2. Scan the site for malware (nulled theme, nulled plugins and so on).
3. Change your user credentials and the salt keys. - You should also let your customers know about the issue and ask them to change their credentials.
4. After you are sure the site is clean, upload it on a new server (again, avoid the shared ones).

Good luck!
M
Thanks will try the steps you shared above see if it helps.

I'm using a dedicated server not shared one.
 
That's a very big issue. I suggest you to close the shop now, until you solve the issue, to avoid further problems

Are you host that site on a shared hosting server?
Do anyone else have access to your stuff (WordPress dashboard, cPanel, database - with admin credentials)?

---LE
If you host it on a shared server, move it to a dedicated one.
If anyone else have access to your stuff (an ex developer, an ex business partner), delete his access.

Other things to do:
1. Backup your site.
2. Scan the site for malware (nulled theme, nulled plugins and so on).
3. Change your user credentials and the salt keys. - You should also let your customers know about the issue and ask them to change their credentials.
4. After you are sure the site is clean, upload it on a new server (again, avoid the shared ones).

Good luck!
M
This is a good tip. I will also add, update your Word Press version to a newer one. If the data is stored in a database, change the password and login, also close the port. Check the vulnerability of the plugins you use, maybe someone got access through them
 
  • Use reCAPTCHA to prevent bots from scraping form data.
  • Disable email logging in form plugins.
  • Ensure form plugin is up to date and avoid using nulled plugins
  • Disable email indexingin your robots.txt:
    User-agent: *
    Disallow: /wp-content/
    Disallow: /wp-admin/


  • Use email obfuscation plugins (e.g., WP Email Guard).
    • Change database table prefixes (wp_ → something random).
    • Use Wordfence’s WAF (Web Application Firewall) to block SQL injection.
    • Check for rogue admin users under Users > All Users in WordPress.
    • Scan your website with Wordfence for malware.
  • Add this to your functions.php file:

    add_filter( 'rest_endpoints', function( $endpoints ) {
    if ( isset( $endpoints['/wp/v2/users'] ) ) {
    unset( $endpoints['/wp/v2/users'] );
    }
    return $endpoints;
    });



    • Enable SPF, DKIM, and DMARC records in your email provider.
    • Use email logging plugins to check if unauthorized emails are being sent.
    • Check server logs for unauthorized access attempts.
  • Hope it will help you to recover all this unwanted issues
 
  • Use reCAPTCHA to prevent bots from scraping form data.
  • Disable email logging in form plugins.
  • Ensure form plugin is up to date and avoid using nulled plugins
  • Disable email indexingin your robots.txt:
    User-agent: *
    Disallow: /wp-content/
    Disallow: /wp-admin/


  • Use email obfuscation plugins (e.g., WP Email Guard).
    • Change database table prefixes (wp_ → something random).
    • Use Wordfence’s WAF (Web Application Firewall) to block SQL injection.
    • Check for rogue admin users under Users > All Users in WordPress.
    • Scan your website with Wordfence for malware.
  • Add this to your functions.php file:

    add_filter( 'rest_endpoints', function( $endpoints ) {
    if ( isset( $endpoints['/wp/v2/users'] ) ) {
    unset( $endpoints['/wp/v2/users'] );
    }
    return $endpoints;
    });



    • Enable SPF, DKIM, and DMARC records in your email provider.
    • Use email logging plugins to check if unauthorized emails are being sent.
    • Check server logs for unauthorized access attempts.
  • Hope it will help you to recover all this unwanted issues
Greatly appreciated will see if I'm able to pull this off, I'm not so technical.
 
Where are their emails stored? Do you have directory browsing disabled? Used any nulled themes/plugins in the past?
They are only stored on Gsuite and on my WordPress website where they place the order.
 
  • Use reCAPTCHA to prevent bots from scraping form data.
  • Disable email logging in form plugins.
  • Ensure form plugin is up to date and avoid using nulled plugins
  • Disable email indexingin your robots.txt:
    User-agent: *
    Disallow: /wp-content/
    Disallow: /wp-admin/


  • Use email obfuscation plugins (e.g., WP Email Guard).
    • Change database table prefixes (wp_ → something random).
    • Use Wordfence’s WAF (Web Application Firewall) to block SQL injection.
    • Check for rogue admin users under Users > All Users in WordPress.
    • Scan your website with Wordfence for malware.
  • Add this to your functions.php file:

    add_filter( 'rest_endpoints', function( $endpoints ) {
    if ( isset( $endpoints['/wp/v2/users'] ) ) {
    unset( $endpoints['/wp/v2/users'] );
    }
    return $endpoints;
    });



    • Enable SPF, DKIM, and DMARC records in your email provider.
    • Use email logging plugins to check if unauthorized emails are being sent.
    • Check server logs for unauthorized access attempts.
  • Hope it will help you to recover all this unwanted issues
How to enable recaptcha in cloudflare you know? Can't find it.
 
Back
Top