ADVISORIES

GitHub Advisory Database

GHSA-8g9c-c9cm-9c56

XWiki Platform may show email addresses in clear in REST results

Details

Impact

Any user can call a REST endpoint and obtain the obfuscated passwords (even when the mail obfuscation is activated).

For instance, by calling http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/XWiki/pages/U1/objects/XWiki.XWikiUsers/0 when user U1 exists on wiki xwiki.

Patches

The issue has been patched on XWiki 14.4.8, 14.10.6, and 15.1

Workarounds

There is no known workaround. It is advised to upgrade to one of the patched versions.

References

  • https://jira.xwiki.org/browse/XWIKI-16138
  • https://github.com/xwiki/xwiki-platform/commit/824cd742ecf5439971247da11bfe7e0ad2b10ede

For more information

If you have any questions or comments about this advisory:

Affected packages

EcosystemPackageAffected versions
Mavenorg.xwiki.platform:xwiki-platform-rest-server
From 7.3-milestone-1 before 14.4.8 (fixed in 14.4.8)
Mavenorg.xwiki.platform:xwiki-platform-rest-server
From 14.5 before 14.10.6 (fixed in 14.10.6)
Mavenorg.xwiki.platform:xwiki-platform-rest-server
From 15.0-rc-1 before 15.1 (fixed in 15.1)

References