Improvement suggestion for Moodle CMS version detection

“Moodle CMS Version Detection” OID: 1.3.6.1.4.1.25623.1.0.800239
The current VT is checking /admin/environment.xml - it expects the latest Moodle version to be the version listed in the bottom of the file.
This is however not the case anymore.

A better way to detect the version seems to check in /bin/upgrade.txt for the version number.

Below is example from Git v 3.11.6 of Moodle where environment.xml shows 4.0 and upgrade.txt shows the current version (3.11.6)

lib/upgrade.txt
admin/environment.xml

Would it be possible to correct the VT in the Greenbone feed to use lib/upgrade.txt as source for version detection instead?

Hi and welcome to the community!

Thanks a lot for reaching out and especially for the information provided. I’ve raised an internal ticket to get this checked/addressed.

Regards,
Christian

1 Like