1.8low
Password confirmation stored in plain text via registration form in statamic/cms
- Severity
- 1.8low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qvpj-w7xj-r6w9
Description
Statamic is a, Laravel + Git powered CMS designed for building websites. In affected versions users registering via the `user:register_form` tag will have their password confirmation stored in plain text in their user file. This only affects sites matching **all** of the following conditions: 1. Running Statamic versions between 5.3.0 and 5.6.1. (This version range represents only one calendar week), 2. Using the `user:register_form` tag. 3. Using file-based user accounts. (Does not affect users stored in a database.), 4. Has users that have registered during that time period. (Existing users are not affected.). Additionally passwords are only visible to users that have access to read user yaml files, typically developers of the application itself. This issue has been patched in version 5.6.2, however any users registered during that time period and using the affected version range will still have the the `password_confirmation` value in their yaml files. We recommend that affected users have their password reset. System administrators are advised to upgrade their deployments. There are no known workarounds for this vulnerability. Anyone who commits their files to a public git repo, may consider clearing the sensitive data from the git history as it is likely that passwords were uploaded.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| statamic cms | >= 5.3.0, < 5.6.2 | CVE List |
| statamic/cms (Packagist) | from 5.3.0 before 5.6.2 | GitHub Advisory Database |
All scores
| GitHub_M | 1.8low CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N |
| GitHub | 1.8low CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Statamic is a, Laravel + Git powered CMS designed for building websites. In affected versions users registering via the `user:register_form` tag will have their password confirmation stored in plain text in their user file. This only affects sites matching **all** of the following conditions: 1. Running Statamic versions between 5.3.0 and 5.6.1. (This version range represents only one calendar week), 2. Using the `user:register_form` tag. 3. Using file-based user accounts. (Does not affect users stored in a database.), 4. Has users that have registered during that time period. (Existing users are not affected.). Additionally passwords are only visible to users that have access to read user yaml files, typically developers of the application itself. This issue has been patched in version 5.6.2, however any users registered during that time period and using the affected version range will still have the the `password_confirmation` value in their yaml files. We recommend that affected users have their password reset. System administrators are advised to upgrade their deployments. There are no known workarounds for this vulnerability. Anyone who commits their files to a public git repo, may consider clearing the sensitive data from the git history as it is likely that passwords were uploaded.
GitHub Advisory Database
Users registering via the user:register_form tag will have their password confirmation stored in plain text in their user file.
Impact
This only affects sites matching all of the following conditions:
- Running Statamic versions between 5.3.0 and 5.6.1. (This version range represents only one calendar week)
- Using the
user:register_formtag. - Using file-based user accounts. (Does not affect users stored in a database.)
- Has users that have registered during that time period. (Existing users are not affected.)
The password is only visible to users that have access to read user yaml files, typically developers of the application itself.
Patches
The issue has been patched in 5.6.2, however any users registered during that time period and using the affected version range will still have the the password_confirmation value in their yaml files.
We recommend that affected users have their password reset. The following query can be entered into php artisan tinker and will output a list of affected emails:
Statamic\Facades\User::query()->whereNotNull('password_confirmation')->get()->map->email
The following can be entered into tinker and will clear both password_confirmation as well as their existing password. They will be required to reset their password before their next login attempt.
Statamic\Facades\User::query()
->whereNotNull('password_confirmation')->get()
->each(fn ($user) => $user->remove('password_confirmation')->passwordHash(null)->save());
References
If you are committing user files to a public git repo, you may consider clearing the sensitive data from the git history. You can use the following links for details.
NVD (es)
Statamic es un CMS con tecnología Laravel + Git manipulado para crear sitios web. En las versiones afectadas, los usuarios que se registren a través de la etiqueta `user:register_form` tendrán la confirmación de su contraseña almacenada en texto sin formato en su archivo de usuario. Esto solo afecta a los sitios que cumplen **todas** las siguientes condiciones: 1. Ejecutar versiones de Statamic entre 5.3.0 y 5.6.1. (Este rango de versiones representa solo una semana calendario), 2. Usando la etiqueta `user:register_form`. 3. Usar cuentas de usuario basadas en archivos. (No afecta a los usuarios almacenados en una base de datos). 4. Tiene usuarios que se han registrado durante ese período de tiempo. (Los usuarios existentes no se ven afectados). Además, las contraseñas solo son visibles para los usuarios que tienen acceso para leer archivos yaml de usuario, generalmente desarrolladores de la propia aplicación. Este problema se solucionó en la versión 5.6.2; sin embargo, cualquier usuario registrado durante ese período de tiempo y que utilice el rango de versiones afectado aún tendrá el valor `password_confirmation` en sus archivos yaml. Recomendamos que los usuarios afectados restablezcan su contraseña. Se recomienda a los administradores del sistema que actualicen sus implementaciones. No se conocen workarounds para esta vulnerabilidad. Cualquiera que envíe sus archivos a un repositorio público de git puede considerar borrar los datos confidenciales del historial de git, ya que es probable que se hayan cargado contraseñas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-36119 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qvpj-w7xj-r6w9 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-36119 changed 2026-06-17 | Public domain |