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

Check integrity of Joomla core files #20

Open
nikosdion opened this issue May 26, 2023 · 3 comments
Open

Check integrity of Joomla core files #20

nikosdion opened this issue May 26, 2023 · 3 comments
Labels
Planned Will work on it

Comments

@nikosdion
Copy link
Member

We would need to check if the Joomla version is listed in the download.joomla.org site.

Download the ZIP file and create SHA-1 checksums of the files as-is and with all their newlines converted to LF (i.e. convert CRLF to LF, and CR to LF).

The same needs to happen server-side, e.g. make an API call which allows us to retrieve a list of the checksums of a bunch of files we send in a POST request.

If any checksums differ, notify the user.

This is auxiliary to the PHP File Change Scanner. It cannot detect added files in core folders; that's something the PHP File Change Scanner can do, though.

@nikosdion nikosdion added the Planned Will work on it label Nov 6, 2023
@nikosdion
Copy link
Member Author

We are automatically generating the checksum and make them available in an API: https://getpanopticon.com/checksums/ This is much better than having each installation download Joomla's ZIP files by itself.

We need to write a connector feature to walk through the filesystem and return the checksums.

@nikosdion
Copy link
Member Author

The service endpoint is fully operational.

@nikosdion
Copy link
Member Author

This feature needs a full site scan, which is duplicating a lot of the work done in the PHP File Change Scanner. This feature should really be added to Admin Tools' PHP File Change Scanner and its results reported to Panopticon.

This is an important enough feature that may warrant a backport to Admin Tools 6 for Joomla! 3 — a CMS release which refuses to die just by virtue of sheer deployment size.

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

No branches or pull requests

1 participant