• Hi there,

    I would like to know how to improve wordpress security.

    1) I am at the lost password password, I could just enumerate the username and it shows that the username doesn’t exist. Is there a way to show “If the username is correct” we will send you an email? Owasp mention this is a vulnerabilities.
    https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/03-Identity_Management_Testing/04-Testing_for_Account_Enumeration_and_Guessable_User_Account

    2) How do I disable xmlrpc.php
    3) And disable the following /wp-json/wp/v2/users”
    4) What are some of the most common wordpress security flaws?

    • This topic was modified 4 years, 5 months ago by Jan Dembowski.
    • This topic was modified 4 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The plugin Wordfence will let you do (2) and (3) and is a long way to protecting your site. There’s also an option that lets you block most user enumerations.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not an Everything else WordPress topic.

    I would like to know how to improve wordpress security.

    That’s good. Start by giving this a good read and implementing those.

    https://ww.wp.xz.cn/support/article/hardening-wordpress/

    I could just enumerate the username and it shows that the username doesn’t exist.

    So what? Usernames are the part you can never keep from being known. It’s pointless to even try. Almost all systems will accept your email address as well as your user ID and you give out your email address everyday.

    If you are concerned then use strong passwords like these.

    yfk8AJZ.gze7tpe*rmp
    nqm2qed_ytf0UEG7vme
    zxp!xtj1wxd2ZAY6axa

    Don’t actually use those but you get the idea. WordPress supports up to 4096 character long passwords.

    Or implement 2FA via hardware tokens or a time based generated password.

    https://ww.wp.xz.cn/plugins/search/two+factor/

    I personally use this. It works with Yubikey and time generated passwords.

    https://ww.wp.xz.cn/plugins/two-factor/

    2) How do I disable xmlrpc.php

    Try one of these.

    https://ww.wp.xz.cn/plugins/search/disable+xmlrpc/

    3) And disable the following /wp-json/wp/v2/users”

    Try this one. I have a feeling there’s an option now in core WordPress but this looks like it will do it.

    https://ww.wp.xz.cn/plugins/disable-json-api/

    4) What are some of the most common wordpress security flaws?

    Users who use weak Password123 passwords and do not maintain both their WordPress code, plugins and themes and run on web hosts who do not maintain the OS code and packages outside of WordPress.

    The best maintained WordPress installation on a shared server is only as secure as the host and the other people running insecure code on the same server.

    • This reply was modified 4 years, 5 months ago by Jan Dembowski. Reason: Grammar and word fix

    Other plugins exist too that deal with user enumeration

    https://en-gb.ww.wp.xz.cn/plugins/search/user+enumeration/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress Security’ is closed to new replies.