WordPress – Debug Mode

Description

During the scan, Kayran has detected that you’ve left Debug Mode enabled.

If Debug Mode is enabled on your WordPress site, all PHP notices, errors and warnings are being saved in a login file named “./wp-content/debug.log”.
This file is readable for anyone.
An attacker can use the debugging information found in this file to initiate further, more advanced attacks against your assets.

Severity/Score

CVSS Version 3.x – 5.3 Medium

Recommendation

Make sure the WordPress Debug Mode is disabled in production, or, restrict access to the
“./wp-content/debug.log” file.
To disable the Debug Mode use the following command :
define(‘WP_DEBUG’, false);

References

https://wordpress.org/support/article/debugging-in-wordpress/

https://cwe.mitre.org/data/definitions/200.html

< Return to all Vulnerabilities

Using VPN

What is a VPN? Why should someone be using VPN? Which Problems does is solve? and what is the advantages and disadvantages of it? Let’s

Read More »