GHSA-v9j2-q4q5-cxh4

Suggest an improvement
Source
https://github.com/advisories/GHSA-v9j2-q4q5-cxh4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/07/GHSA-v9j2-q4q5-cxh4/GHSA-v9j2-q4q5-cxh4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v9j2-q4q5-cxh4
Aliases
Published
2021-07-02T19:19:13Z
Modified
2023-11-08T04:05:58.607194Z
Severity
  • 5.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
No CSRF protection on the password change form
Details

Impact

It's possible for forge an URL that, when accessed by an admin, will reset the password of any user in XWiki.

Patches

The problem has been patched in XWiki 12.10.5, 13.2RC1.

Workarounds

It's possible to apply the patch manually by modifying the register_macros.vm template like in https://github.com/xwiki/xwiki-platform/commit/0a36dbcc5421d450366580217a47cc44d32f7257.

References

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

For more information

If you have any questions or comments about this advisory: * Open an issue in Jira XWiki * Email us at security ML

Database specific
{
    "nvd_published_at": "2021-07-01T18:15:00Z",
    "github_reviewed_at": "2021-07-02T16:41:31Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-352"
    ]
}
References

Affected packages

Maven / org.xwiki.platform:xwiki-platform-administration-ui

Package

Name
org.xwiki.platform:xwiki-platform-administration-ui
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-administration-ui

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
12.10.5

Maven / org.xwiki.platform:xwiki-platform-administration-ui

Package

Name
org.xwiki.platform:xwiki-platform-administration-ui
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-administration-ui

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13.0
Fixed
13.2