Skip to content
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

Nodeinfo exposes WordPress version? #11

Open
ndegruchy opened this issue Jan 3, 2024 · 4 comments
Open

Nodeinfo exposes WordPress version? #11

ndegruchy opened this issue Jan 3, 2024 · 4 comments

Comments

@ndegruchy
Copy link

ndegruchy commented Jan 3, 2024

I know that security through obscurity is a weak defense, if any. However, I like to remove all the version identifiers from the software that I expose to the public. The less an attacker knows about the infrastructure, the better.

Is there a way to remove the version identifiers from nodeinfo (and likely your other plugins)? I don't even truly mind that it still says WordPress.

For instance, the ActivityPub endpoint /wp-json/activitypub/1.0/nodeinfo2 exposes software and version for WordPress. Additionally nodeinfo provides a generator with information about the software and version in question via /wp-json/nodeinfo/2.1.

Perhaps I'm able to see this because I'm logged in?

@pfefferle
Copy link
Owner

This is the NodeInfo plugin repo but it seems that you use the ActivityPub endpoint, is that true?

You can use a filter, to remove the Informations about WordPress, but maybe it is a better choice to remove the endpoint completely (???), because I am not sure if FediDB indexes sites that have no software identified.

@ndegruchy
Copy link
Author

Okay. Thanks.

Yes, I know this is the nodeinfo repo. Having either-or installed reports this information (at least as far as I can tell).

because I am not sure if FediDB indexes sites that have no software identified.

Odd, but it is what it is.

Thanks!

@pfefferle
Copy link
Owner

I think this is still a relevant feature, because we could at least mask the version number and have a possibility to disable it completely.

@pfefferle pfefferle reopened this Jan 4, 2024
@pfefferle
Copy link
Owner

I at least masked the version number to show only the major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants