• Resolved mon33x

    (@mon33x)


    What does this mean?

    Publicly accessible config, backup, or log file found: .user.ini
    URL: [removed by moderator]
    Severity: Critical
    Status New
    [removed by moderator] is publicly accessible and may expose source code or sensitive information about your site. Files such as this one are commonly checked for by scanners and should be made inaccessible. Alternately, some can be removed if you are certain your site does not need them. Sites using the nginx web server may need manual configuration changes to protect such files.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • It means anyone can access critical files on your server, files that should be inacessable. You need to secure your installation correctly. A thousands ways to do that, basics involve server configuration that you have to learn to do yourself, or perhaps get your ISP to do for you. Google terms such as “harden WordPress” and “WordPress security htaccess”

    MTN

    Hi @mon33x,

    This alert is related to an improvement we implemented in the latest version (6.3.20).

    Please see this topic which addresses the same question.

    Thread Starter mon33x

    (@mon33x)

    So I should add

    <Files ".user.ini">
    <IfModule mod_authz_core.c>
            Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
            Order deny,allow
            Deny from all
    </IfModule>
    </Files>

    to my htaccess?

    Easy to test. First see if you can access those folders/files as public. First fix folder permissions if necessary. If that’s not the problem fool around with .htaccess and test again. Take lots of time that you could otherwise spend actually creating content, fun! If you want to learn .htaccess check out perishablepress.com as well as learning the basics of regular expressions, also helps to have a good ISP that’ll step in, oh, and you can try Cpanel options that modify your .htaccess, then look at the results as a learning process. i’ve gotten ok at working on my .htaccess but am not enough of an expert to make specific suggestions. In the end, I wish I’d never heard of .htaccess or WordPress and stuck with the flat html type site I started with as a blogger, but that’s the breaks… MTN

    Thread Starter mon33x

    (@mon33x)

    I added it and warning dissaper 🙂

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

The topic ‘Wordfence issue’ is closed to new replies.