We should focus on both activated/deactivated plugins because deactivated plugins can also be accessible.
Deactivating a vulnerable plugin does not improve the WordPress site’s security. It is best practice to either remove or keep up-to-date any unused plugins.
Let’s say we see plugin Mail Masta
is disabled.
We will still be able to access it with no problem.
We can also view the directory listing using cURL and convert the HTML output to a nice readable format using html2text
.
This type of access is called Directory Indexing
. It allows us to navigate the folder and access files that may contain sensitive information or vulnerable code.