Offcanvas top

Download

Release v1.5.16

This release updates the CLI commands and fixes a technical bug.

  • Add the ability to find projects by UUID in the CLI commands. Pull request #475 was provided by uluzox.
  • Add an additional option to output the result of the `mosparo:project:create` command as JSON to allow better automation. Pull request #480 was provided by uluzox.
  • Added the required constraint to prevent invalid UTF-8 characters in the project description.

Thank you, uluzox, for the pull requests and for helping make mosparo better.

Download hosted by GitHub
SHA1: 84724f5348eb0fc683d35edcf7db1697d77b3113

Release v1.5.15

Version 1.5.15 is a security release that fixes an XSS in the metadata and a critical bug in the create project command.

  • Fixed a stored XSS in the submission view page with the metadata. Reported by p-w via the GitHub Security Advisories (GHSA-rg49-4j4j-gxgr).
  • Fixed the broken CLI command to create a new project. Fix provided by uluzox in #474
  • Fixed an issue in the standard Alpine Docker image when starting with --tmpfs. If the /run directory was empty, the missing nginx directory broke the start of the container.
  • Updated the backend dependencies, including a new version of the mosparo specifications that allow additional fields in the JSON schemas.

Thank you very much for reporting the security issue and delivering the pull request to fix the broken command.

Details of the security issues

Description of the security issue

The metadata feature was added in version 1.5. On the submission detail page, an incorrectly escaped value could lead to a stored XSS.

Risk assessment

We strongly recommend updating to v1.5.15 as soon as possible.

If you cannot update to v1.5.15, turn off metadata in the project settings for every project. This will protect you from future stored XSS, but does not solve the problem for already stored submissions.

Download hosted by GitHub
SHA1: e4b479d7a343d1eae78e54509d66d3c20f7071bc

Release v1.5.14

Version 1.5.14 is a maintenance release. It adds four new commands and fixes five bugs.

  • Added a CLI command to finalize the update after updating mosparo. Provided by uluzox in #468
  • Added a CLI command to refresh the frontend resources. Provided by uluzox in #468
  • Added a CLI command to create a new project (or update an existing one). Provided by uluzox in #467
  • Added a CLI command to create a new user (or update an existing one). Provided by uluzox in #466
  • Fixed a bug where the IP allow list didn’t apply to the minimum-time and equal-submissions security features.
  • Fixed a bug where switching to the shared cache for frontend CSS resources didn’t delete the mapping entry.
  • Fixed a bug where the wrong project was stored in a config value when the backend regenerated the frontend resources.
  • Added the required constraints for the user’s email address and fixed the visibility of the error messages in the setup.
  • Added a fix to prevent a TypeError in the design helper.
  • Updated the translations

Thank you, uluzox, for your pull requests and work! Thank you also to all the other contributors who help us make mosparo better every day!

Download hosted by GitHub
SHA1: f929198c05435258f3f67cb2312f149e747740cc

Release v1.5.13

Version 1.5.13 is a security release that fixes multiple security-related issues and many bugs. While this is a security release, it’s important to note that the fixed security-related issues are low-severity.

We want to note that this version has nothing to do with the PHP security patches released last week. We prepared this version before the announcement of the PHP security patches, but postponed the release from last week to today.

Update and setup

  • Fixed the SAVEPOINT errors that can occur in MySQL setups. Reported by camlafit in #456
  • Added a function to handle errors during migration processing.
  • Resolved the duplicate update checks.
  • Setup: The admin password is now removed from the session after the user is created.
  • Changed the update log filenames to use random_bytes for more random names.

Verification

  • Changed the hash verification to hash_equals and made it case-insensitive.
  • Fixed a race condition when two requests wanted to verify the same submit token.
  • The verification simulation on the submission detail page no longer shows the real hashes.

Security settings

  • All IP-based security features (delay, lockout, and so on) use the IPv6 /64 subnet to count based on the IP address.

Frontend

  • Switched the delay message’s innerHTML to a safer method.
  • Fixed the Last-Modified date in the CSS redirect.
  • Added the required logic to validate the URL to prevent redirecting to a new host.

Projects

  • Added a missing access-level check for creating new projects.
  • Adjusted the search in the project list to search case-insensitively.
  • Fixed a bug where the user saw an error instead of the empty project group after deleting a project.

Rules

  • Submission rule random values: Added constraints to enforce the correct values and fixed a logic bug. The rating needs to be greater than or equal to 0.1. The status is now displayed correctly in the list.

Rule packages

  • Changed the hash comparison to case-insensitive and handle missing newlines.
  • Adjusted the logic to remove the aborted imports.
  • Using a stream wrapper in the file path is no longer possible. The path needs to be an absolute file path.
  • Rule packages based on a URL need to start with http:// or https://.
  • Added additional logic to handle rule package files larger than 1 MB, which libmagic could identify as text/plain.
  • Handle missing sources correctly and prevent errors.

Project import

  • The default overrides were not preselected.
  • Import and job files were not deleted if the import failed.

Password

  • Increased the minimum password length to 8 characters. Existing shorter passwords will still work after the update.
  • Password reset no longer shows the error message when sending the email.
  • Fixed an error 500 during login when the password hash was automatically upgraded.

Other

  • Fixed the reverse proxy header replacement, which was not correctly applied due to a typo.
  • Updated all backend dependencies.
  • Fixed multiple PHP 8.4 deprecations.

Details of the security issues

Description of the security issue

The most problematic security fix is the functionality to create a new project, which is not limited to users with the “can create project” role. This means that every authenticated user can create a new project.

Additionally, we increased the minimum password length to 8 characters, adjusted the hash comparison in the verification API, hid the full hash in the verification simulation, and made other adjustments to make mosparo more secure.

Risk assessment

We recommend updating to v1.5.13 as soon as possible.

The only risk in this update is the fix for the missing access check when creating a new project. But this means that an authenticated user can create a new project without the role to create new projects. The user is unable to delete or modify any existing projects; therefore, the risk is considered low. If all your users have the access level to create new projects, there is no risk at all.

The other security-related fixes are not directly a threat to your mosparo installation.

Download hosted by GitHub
SHA1: e7b6a54709473f58df325e90912142af37f30209

Release v1.5.12

This release is a bug-fix release that fixes an issue when adding new users in the administration.

  • Fixed an error that prevented adding new users in the user administration (introduced with v1.5.10).

Download hosted by GitHub
SHA1: 5ad1ac13aec3cd1ed4ce0ec13713e1ffe7f00bc8
Load more
Loading...