-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detector for sitepress-multilingual-cms's version doesn't work #1386
Comments
Thanks for the report! |
@erwanlr I think the new Here's an arbitrary site I just googled that has directory listings turned on so you can see the version markdown files: https://www.inkoma-albert.com/wp-content/plugins/sitepress-multilingual-cms/changelog/ Since most sites don't allow directory listing, wpscan would have to enumerate the markdown files. Also, wpscan's dynamic_finder should respect a 404 response when using the |
I am aware of the changelog directory, however there is an inconsistency between the version form the files there and the version from other places, such as the WPML generator tag. In your example, the latest in the changelog is 4.0.0 whereas the WPML generator tag is at 3.9.3. I've checked some other blogs using the plugin as well and notice the same behaviour. Furthermore, given the very aggressive nature of the detection via the changelog directory, and the fact that we would need to know the latest version of the premium plugin, it's not worth it. I've just noticed that there is also the version disclosed via the wpml-dependencies.json file, so I've added that. Re the respect of the 404, I will have a look |
404 are now ignored by the BodyPattern DF |
Before submitting an issue, please make sure you fully read any potential error messages output and did some research on your own.
Subject of the issue
The version of
sitepress-multilingual-cms
isn't detected properly with the currentdynamic_finders.yml
which tries to match a regular expression in the plugin'schangelog.md
.Nowadays
sitepress-multilingual-cms
doesn't have achangelog.md
anymore, instead it comes with achangelog
directory where every version has its own markdown file.Given that, the current
dynamic_finders.yml
might even detect a wrong version of the plugin if the site's theme has a custom 404 error page (will be delivered due to the missingchangelog.md
) which accidentally matches the regular expression to detect the version.Your environment
The text was updated successfully, but these errors were encountered: