Repository navigation
v7.0.4
This version contains security fixes. We strongly recommend updating.
This version requires exceedone/exment-admin-core v1.0.5 (installed by composer update).
- Vulnerability fixes
- GHSA-8pmx-4cm4-9gww: Two-factor authentication and the forced password change could be skipped on the web API routes
- GHSA-w2jf-2q2w-mrq2: The second factor could be guessed without limit
- GHSA-vxx2-94gw-6422: A visitor of a public form could read whole records of the tables the form selects from
- GHSA-9qw4-mj73-r2rm: A user who may set one plugin could upload a plugin
- GHSA-qvhx-427q-cjw2: Views and other table settings could be changed or deleted without their permission
- GHSA-v49m-8xmq-m4jc: A user who may set the members of role groups could import and delete role groups
- GHSA-24h8-cx9v-4m6g: Stored XSS in the notifications box of a dashboard
- exment-admin-core GHSA-rh2r-f6jx-pmgx and GHSA-rgmr-7wg2-px74 (fixed in exment-admin-core v1.0.5)
- Security hardening
- Permission checks on record actions: copy, file attachments, comments, plugin buttons, workflow users, deleting files
- The send-mail dialog fills only the template's words, and attaches only the record's files
- Escaping of the user info in the header and of selected records on public forms
- Limits on wrong passwords for oauth/token; the API key must belong to the client
- SSO login is refused when the provider says the e-mail address is not verified
- Webhooks are not sent to the server itself or internal addresses (private addresses can also be refused with EXMENT_NOTIFY_WEBHOOK_DENY_PRIVATE=true)
- X-Frame-Options and X-Content-Type-Options on admin and login pages (EXMENT_X_FRAME_OPTIONS)
- reCAPTCHA on public forms is checked on save too; table and column names are checked
How to update:
composer update exceedone/exment exceedone/exment-admin-core
php artisan exment:update
Then reload the browser with Ctrl+F5.
Notes:
- Webhook URLs to the server itself or link-local addresses (localhost, 169.254.x.x and so on) are refused from this version. A notify already saved with such a URL stops sending, and a line is written to the log. To post to a chat server on the same server, list its host name in EXMENT_NOTIFY_WEBHOOK_ALLOW_HOSTS in .env (comma separated).
- Admin and login pages are no longer shown inside a frame of another site (X-Frame-Options: SAMEORIGIN). If you embed Exment in another site, set EXMENT_X_FRAME_OPTIONS in .env (an empty value turns the header off). Public forms are not changed.
Full Changelog: v7.0.3...v7.0.4