{"id":"GHSA-m738-3rc4-5xv3","summary":"A user without PR can reset user authentication failures information","details":"### Impact\nThe 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.\nNote 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.\n\n### Patches\nThe problem has been patched in version 12.6.8, 12.10.4 and 13.0.\n\n### Workarounds\nThere'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.\n\n### References\nhttps://jira.xwiki.org/browse/XWIKI-18276\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira](http://jira.xwiki.org)\n* Email us at [the security mailing-list](mailto:security@xwiki.org)\n","aliases":["CVE-2021-32729"],"modified":"2026-07-08T06:28:56.222497754Z","published":"2021-07-02T19:19:31Z","database_specific":{"nvd_published_at":"2021-07-01T17:15:00Z","cwe_ids":["CWE-287","CWE-693","CWE-732"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2021-07-02T16:44:24Z"},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-m738-3rc4-5xv3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32729"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-18276"}],"affected":[{"package":{"name":"org.xwiki.platform:xwiki-platform-security-authentication-script","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-authentication-script"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11.6"},{"fixed":"12.6.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/07/GHSA-m738-3rc4-5xv3/GHSA-m738-3rc4-5xv3.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-security-authentication-script","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-authentication-script"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.7"},{"fixed":"12.10.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/07/GHSA-m738-3rc4-5xv3/GHSA-m738-3rc4-5xv3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N"}]}