GHSA-g75c-cjr6-39mc

Suggest an improvement
Source
https://github.com/advisories/GHSA-g75c-cjr6-39mc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-g75c-cjr6-39mc/GHSA-g75c-cjr6-39mc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g75c-cjr6-39mc
Aliases
Published
2023-06-20T16:44:55Z
Modified
2023-11-08T04:12:47.549134Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
XWiki Platform's Mail.MailConfig can be edited by any user with edit rights
Details

Impact

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.

Patches

The problem has been patched on XWiki 14.4.8, 15.1, and 14.10.6.

Workarounds

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.

References

  • https://jira.xwiki.org/browse/XWIKI-20519 + https://jira.xwiki.org/browse/XWIKI-20671
  • https://github.com/xwiki/xwiki-platform/commit/d28d7739089e1ae8961257d9da7135d1a01cb7d4
  • https://github.com/xwiki/xwiki-platform/commit/8910b8857d3442d2e8142f655fdc0512930354d1

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "nvd_published_at": "2023-06-23T16:15:09Z",
    "cwe_ids": [
        "CWE-269"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-20T16:44:55Z"
}
References

Affected packages

Maven / org.xwiki.platform:xwiki-platform-mail-send-default

Package

Name
org.xwiki.platform:xwiki-platform-mail-send-default
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-mail-send-default

Affected ranges

Type
ECOSYSTEM
Events
Introduced
11.8-rc-1
Fixed
14.4.8

Maven / org.xwiki.platform:xwiki-platform-mail-send-default

Package

Name
org.xwiki.platform:xwiki-platform-mail-send-default
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-mail-send-default

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.5
Fixed
14.10.6

Maven / org.xwiki.platform:xwiki-platform-mail-send-default

Package

Name
org.xwiki.platform:xwiki-platform-mail-send-default
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-mail-send-default

Affected ranges

Type
ECOSYSTEM
Events
Introduced
15.0-rc-1
Fixed
15.1