ghsa-f9c6-2f9p-82jj
Vulnerability from github
Impact
A user who can access pages located in the XWiki space (by default, anyone) can access the page XWiki.Authentication.Administration
and (unless an authenticator is set in xwiki.cfg
) switch to another installed authenticator.
Note that, by default, there is only one authenticator available (Standard XWiki Authenticator
). So, if no authenticator extension was installed, it's not really possible to do anything for an attacker.
Also, in most cases, if you have installed and are using an SSO authenticator (like OIDC or LDAP for example), the worst an attacker can do is break authentication by switching back to the standard authenticator (that's because it's impossible to login to a user which does not have a stored password, and that's usually what SSO authenticator produce).
Patches
This has been patched in XWiki 15.10.9 and XWiki 16.3.0RC1.
Workarounds
You can very easily fix this vulnerability in your instance through right configuration:
* access the page and children right administration of the page XWiki.Authentication
(https://myhost/xwiki/bin/admin/XWiki/Authentication/WebPreferences?editor=spaceadmin§ion=PageAndChildrenRights&space=XWiki.Authentication#|t=usersandgroupstable&p=1&l=10&uorg=groups&wiki=local&clsname=XWiki.XWikiGlobalRights
)
* make sure only admin user have the VIEW right
References
https://jira.xwiki.org/browse/XWIKI-22604 https://github.com/xwiki/xwiki-platform/commit/5efc31cea1501c9a5cb593566fea8b558ff32a2a
For more information
If you have any questions or comments about this advisory: * Open an issue in Jira XWiki.org * Email us at Security Mailing List
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.xwiki.platform:xwiki-platform-security-authentication-ui" }, "ranges": [ { "events": [ { "introduced": "15.3-rc-1" }, { "fixed": "15.10.14" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.xwiki.platform:xwiki-platform-security-authentication-ui" }, "ranges": [ { "events": [ { "introduced": "16.0.0-rc-1" }, { "fixed": "16.4.6" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.xwiki.platform:xwiki-platform-security-authentication-ui" }, "ranges": [ { "events": [ { "introduced": "16.5.0-rc-1" }, { "fixed": "16.10.0-rc-1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-46557" ], "database_specific": { "cwe_ids": [ "CWE-862" ], "github_reviewed": true, "github_reviewed_at": "2025-04-30T16:51:53Z", "nvd_published_at": "2025-04-30T19:15:55Z", "severity": "HIGH" }, "details": "### Impact\n\nA user who can access pages located in the XWiki space (by default, anyone) can access the page `XWiki.Authentication.Administration` and (unless an authenticator is set in `xwiki.cfg`) switch to another installed authenticator.\n\nNote that, by default, there is only one authenticator available (`Standard XWiki Authenticator`). So, if no authenticator extension was installed, it\u0027s not really possible to do anything for an attacker.\n\nAlso, in most cases, if you have installed and are using an SSO authenticator (like OIDC or LDAP for example), the worst an attacker can do is break authentication by switching back to the standard authenticator (that\u0027s because it\u0027s impossible to login to a user which does not have a stored password, and that\u0027s usually what SSO authenticator produce).\n\n### Patches\n\nThis has been patched in XWiki 15.10.9 and XWiki 16.3.0RC1.\n\n### Workarounds\n\nYou can very easily fix this vulnerability in your instance through right configuration:\n* access the page and children right administration of the page `XWiki.Authentication` (`https://myhost/xwiki/bin/admin/XWiki/Authentication/WebPreferences?editor=spaceadmin\u0026section=PageAndChildrenRights\u0026space=XWiki.Authentication#|t=usersandgroupstable\u0026p=1\u0026l=10\u0026uorg=groups\u0026wiki=local\u0026clsname=XWiki.XWikiGlobalRights`)\n* make sure only admin user have the VIEW right\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-22604\nhttps://github.com/xwiki/xwiki-platform/commit/5efc31cea1501c9a5cb593566fea8b558ff32a2a\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)", "id": "GHSA-f9c6-2f9p-82jj", "modified": "2025-05-01T13:30:33Z", "published": "2025-04-30T16:51:53Z", "references": [ { "type": "WEB", "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-f9c6-2f9p-82jj" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-46557" }, { "type": "WEB", "url": "https://github.com/xwiki/xwiki-platform/commit/5efc31cea1501c9a5cb593566fea8b558ff32a2a" }, { "type": "PACKAGE", "url": "https://github.com/xwiki/xwiki-platform" }, { "type": "WEB", "url": "https://jira.xwiki.org/browse/XWIKI-22604" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "Any user with view access to the XWiki space can change the authenticator" }
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.