Mail.MailConfig can be edited by any logged-in user by default. Consequently, they can:
- change the mail obfuscation configuration
- view and edit the mail sending configuration, including the smtp domain name and credentials.
The problem has been patched on XWiki 14.4.8, 15.1, and 14.10.6.
The rights of the Mail.MailConfig page can be manually updated so that only a set of trusted users can view, edit and delete it (e.g., the XWiki.XWikiAdminGroup group).
On 14.4.8+, 15.1-rc-1+, or 14.10.5+, if at startup Mail.MailConfig does not have any rights defined, view, edit and delete rights are automatically granted to the XWiki.XWikiAdminGroup group.
See the corresponding patch.
If you have any questions or comments about this advisory:
{
"github_reviewed": true,
"cwe_ids": [
"CWE-269"
],
"github_reviewed_at": "2023-06-20T16:44:55Z",
"nvd_published_at": "2023-06-23T16:15:09Z",
"severity": "CRITICAL"
}