version ID protection
Permalink
What exactly can be done to prevent malicious users enumerating the specific verion of concrete5 used on a website? There are free tools such ashttp://pentest-tools.com/ that at present easily reveal the exact version of concrete5 - which I imagine would assist an attacker if there was a known unpatched vulnerability in a specific version.
It's not helping much. Obscurity != Security. Every hacker probably has fingerprint tools to determine the software version used. I mean, even I have them, and I'm not a hacker.
So are you saying 'don't worry about it' or its easy to obtain the information even if you hide it.
Yes, that's what I'd say.
Not sure if it works in v5.6, but in v8.4 I use the following code in the package controller on_start():
Events::addListener("on_header_required_ready", function ($event) { $metaTags = $event->getArgument("metaTags"); $metaTags['generator'] = sprintf('<meta name="generator" content="%s"/>', 'MY_PACKAGE - ' . $this->pkgVersion); $event->setArgument("metaTags", $metaTags); return $event; });