• Resolved Erick

    (@relozo)


    Hi,

    Would you be able to confirm that there’s no publicly available information being shown to users visiting the website with WordFence using phpinfo()?

    Also, if this is possible to get disabled on a plugin level? If not, what functionalities uses phpinfo()?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @relozo, thanks for your question.

    A full phpinfo() shouldn’t ever have a reason to be included in a regular public-facing page. Wordfence will only trigger it for a logged in admin who chooses to view or send diagnostics for troubleshooting purposes from the plugin (Wordfence > Tools > Diagnostics). There’s no way for regular visitors to your site to execute this code, but naturally protecting your admin accounts with complex passwords and 2 factor authentication where possible is always good practice.

    You can actually use the disable_functions in your server’s php.ini file to specify phpinfo if you’re concerned. In that case, the server returns Warning: phpinfo() has been disabled for security reasons. As that’s just a warning and not a fatal error, it shouldn’t prevent Wordfence or anything else that uses it from functioning correctly. Your host can help you with that if you’re unsure how to do it.

    I hope that helps you out,
    Peter.

    Thread Starter Erick

    (@relozo)

    Thanks!

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

You must be logged in to reply to this topic.