CVE-2021-32729
JSON

2.0low

A user without PR can reset user authentication failures information

Severity
2.0low CVSS:3.1 by GitHub_M
Exploit likelihood
0.50% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-m738-3rc4-5xv3

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A vulnerability exists in versions prior to 12.6.88, 12.10.4, and 13.0. The script service method used to reset the authentication failures record can be executed by any user with Script rights and does not require Programming rights. An attacher with script rights who is able to reset the authentication failure record might perform a brute force attack, since they would be able to virtually deactivate the mechanism introduced to mitigate those attacks. The problem has been patched in version 12.6.8, 12.10.4 and 13.0. There are no workarounds aside from upgrading.

Affected

Product or packageVersionsReported by
xwiki xwiki-platform> 11.6RC1, < 12.6.8, >= 12.10.0, < 12.10.4CVE List
org.xwiki.platform:xwiki-platform-security-authentication-script (Maven)from 11.6 before 12.6.8, from 12.7 before 12.10.4GitHub Advisory Database
xwiki xwikifrom 11.6.1 before 12.6.8, from 12.7 before 12.10.4NVD

All scores

GitHub_M2.0low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
GitHub2.0low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD5.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:N

Classification

What each source says

CVE List

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A vulnerability exists in versions prior to 12.6.88, 12.10.4, and 13.0. The script service method used to reset the authentication failures record can be executed by any user with Script rights and does not require Programming rights. An attacher with script rights who is able to reset the authentication failure record might perform a brute force attack, since they would be able to virtually deactivate the mechanism introduced to mitigate those attacks. The problem has been patched in version 12.6.8, 12.10.4 and 13.0. There are no workarounds aside from upgrading.

GitHub Advisory Database
Impact

The script service method used to reset the authentication failures record can be executed by any user with Script rights and does not require Programming rights as it should have. Note that being able to reset the authentication failure record mean that an attacker with script right might use it to try performing a bruteforce attack since she'd been able to virtually deactivate the mechanism introduced to mitigate those attacks.

Patches

The problem has been patched in version 12.6.8, 12.10.4 and 13.0.

Workarounds

There's no workaround besides upgrading and being careful on which user should have Script right access. Note that any bruteforce attack on the authentication should be visible in the logs since the authentication failures are logged.

References

https://jira.xwiki.org/browse/XWIKI-18276

For more information

If you have any questions or comments about this advisory:

NVD (es)

Una plataforma XWiki es una Plataforma wiki genérica que ofrece servicios de tiempo de ejecución para aplicaciones construidas sobre ella. Se presenta una vulnerabilidad en versiones anteriores a 12.6.88, 12.10.4 y 13.0. El método de servicio script usado para restablecer el registro de fallos de autenticación puede ser ejecutado por cualquier usuario con derechos de script y no requiere derechos de programación. Un atacante con derechos de script que sea capaz de restablecer el registro de fallos de autenticación podría llevar a cabo un ataque de fuerza bruta, ya que sería capaz de desactivar virtualmente el mecanismo introducido para mitigar esos ataques. El problema ha sido parcheado en versiones 12.6.8, 12.10.4 y 13.0. No se presentan soluciones aparte de la actualización

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32729 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-m738-3rc4-5xv3 changed 2026-07-08CC-BY-4.0
NVDCVE-2021-32729 changed 2026-06-17Public domain