GHSA-rwwx-6572-mp29

Suggest an improvement
Source
https://github.com/advisories/GHSA-rwwx-6572-mp29
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-rwwx-6572-mp29/GHSA-rwwx-6572-mp29.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rwwx-6572-mp29
Aliases
Published
2023-10-25T21:06:32Z
Modified
2023-11-08T04:13:04.310730Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
org.xwiki.platform:xwiki-platform-attachment-api vulnerable to Missing Authorization on Attachment Move
Details

Impact

An attacker with edit access on any document (can be the user profile which is editable by default) can move any attachment of any other document to this attacker-controlled document. This allows the attacker to access and possibly publish any attachment of which the name is known, regardless if the attacker has view or edit rights on the source document of this attachment. Further, the attachment is deleted from the source document. This vulnerability exists since the introduction of attachment move support in XWiki 14.0 RC1.

Patches

This vulnerability has been patched in XWiki 14.4.8, 14.10.4, and 15.0 RC1.

Workarounds

There is no workaround apart from upgrading to a fixed version.

References

  • https://jira.xwiki.org/browse/XWIKI-20334
  • https://github.com/xwiki/xwiki-platform/commit/d7720219d60d7201c696c3196c9d4a86d0881325

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

Attribution

This vulnerability has been reported on Intigriti by Mete.

Database specific
{
    "nvd_published_at": "2023-10-25T18:17:28Z",
    "cwe_ids": [
        "CWE-862"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-10-25T21:06:32Z"
}
References

Affected packages

Maven / org.xwiki.platform:xwiki-platform-attachment-api

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.0-rc-1
Fixed
14.4.8

Maven / org.xwiki.platform:xwiki-platform-attachment-api

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.5
Fixed
14.10.4