Moodle Version Disclosure In Scan Tools

Moodle Version Disclosure In Scan Tools

Amith DV -
Erantzun kopurua: 4

How can I hide Moodle version details from being detected by scan tools like ImmuniWeb, especially when it still reveals version details even after adjusting headers to hide the information?

Eranskina Screenshot 2024-11-06 171230.png
Puntuazioen batez bestekoa: -
Amith DV(e)ri erantzunda

Re: Moodle Version Disclosure In Scan Tools

Brett Dalton -
Moodle HQ-ren irudia Particularly helpful Moodlers-ren irudia
It looks like they are using fingerprinting rather than any specific piece of data to analyse that information. That might be using JS library versions and page structures as part of this which is not possible to hide. This is a bit of a guess without knowing more about how they are fingerprinting.
Puntuazioen batez bestekoa:Useful (1)
Amith DV(e)ri erantzunda

Re: Moodle Version Disclosure In Scan Tools

Michael Hawkins -
Core developers-ren irudia Moodle HQ-ren irudia Particularly helpful Moodlers-ren irudia Peer reviewers-ren irudia Testers-ren irudia

For the reasons Brett mentioned, among others, there's probably no way to 100% hide this. One thing to check would be the docs on hiding internal paths, which helps remove access to some of the information that might be used. You can find the docs for Apache here: https://docs.moodle.org/en/Apache#Hiding_internal_paths - there's also equivalent docs on their own pages for other web servers (eg nginx hiding internal files).

Puntuazioen batez bestekoa:Useful (2)
Amith DV(e)ri erantzunda

Re: Moodle Version Disclosure In Scan Tools

Saša Stamenković -
Using the latest version of Moodle won't help achieving PCI/DSS compliance. The reported version (4.3.8) is fine to use as long as your server is properly patched, configured, and secured with multiple layers of protection such as web application firewalls, IDS, IPS, honeypots, proxy servers, and other scan/attack prevention mechanisms. Moodle is simply a web app that excels at what it was designed to do, and it has been doing the job well for over 20 years. irribarrea

On the other hand, a poorly configured, unprotected server will allow scanners to identify back-end software in detail, but this isn't Moodle's fault. Once your server is properly configured, any "wrong" step by a scanner should trigger your defense mechanisms to block malicious IPs, so there's no need to "hide" anything. irribarrea

But if you really want to try hiding this information, focus on writing rules that block direct access to (.txt) and (.md) files. Good luck!
Saša Stamenković(e)ri erantzunda

Re: Moodle Version Disclosure In Scan Tools

Brett Dalton -
Moodle HQ-ren irudia Particularly helpful Moodlers-ren irudia
To be clear Moodle does not claim PCI/DSS complaince in any way. That is a standard that applies to credit card payments industry and is a very different thing to what Moodle is used for.
Puntuazioen batez bestekoa:Useful (2)