gsd-2022-31167
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
XWiki Platform Security Parent POM contains the security APIs for XWiki Platform, a generic wiki platform. Starting with version 5.0 and prior to 12.10.11, 13.10.1, and 13.4.6, a bug in the security cache stores rules associated to document Page1.Page2 and space Page1.Page2 in the same cache entry. That means that it's possible to overwrite the rights of a space or a document by creating the page of the space with the same name and checking the right of the new one first so that they end up in the security cache and are used for the other too. The problem has been patched in XWiki 12.10.11, 13.10.1, and 13.4.6. There are no known workarounds.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2022-31167",
      description: "XWiki Platform Security Parent POM contains the security APIs for XWiki Platform, a generic wiki platform. Starting with version 5.0 and prior to 12.10.11, 13.10.1, and 13.4.6, a bug in the security cache stores rules associated to document Page1.Page2 and space Page1.Page2 in the same cache entry. That means that it's possible to overwrite the rights of a space or a document by creating the page of the space with the same name and checking the right of the new one first so that they end up in the security cache and are used for the other too. The problem has been patched in XWiki 12.10.11, 13.10.1, and 13.4.6. There are no known workarounds.",
      id: "GSD-2022-31167",
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2022-31167",
         ],
         details: "XWiki Platform Security Parent POM contains the security APIs for XWiki Platform, a generic wiki platform. Starting with version 5.0 and prior to 12.10.11, 13.10.1, and 13.4.6, a bug in the security cache stores rules associated to document Page1.Page2 and space Page1.Page2 in the same cache entry. That means that it's possible to overwrite the rights of a space or a document by creating the page of the space with the same name and checking the right of the new one first so that they end up in the security cache and are used for the other too. The problem has been patched in XWiki 12.10.11, 13.10.1, and 13.4.6. There are no known workarounds.",
         id: "GSD-2022-31167",
         modified: "2023-12-13T01:19:17.713926Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "security-advisories@github.com",
            ID: "CVE-2022-31167",
            STATE: "PUBLIC",
            TITLE: "XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the same reference",
         },
         affects: {
            vendor: {
               vendor_data: [
                  {
                     product: {
                        product_data: [
                           {
                              product_name: "xwiki-platform",
                              version: {
                                 version_data: [
                                    {
                                       version_value: ">= 5.0, < 12.10.11",
                                    },
                                    {
                                       version_value: ">= 13.0, < 13.4.6",
                                    },
                                    {
                                       version_value: ">= 13.10, < 13.10.1",
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "xwiki",
                  },
               ],
            },
         },
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "XWiki Platform Security Parent POM contains the security APIs for XWiki Platform, a generic wiki platform. Starting with version 5.0 and prior to 12.10.11, 13.10.1, and 13.4.6, a bug in the security cache stores rules associated to document Page1.Page2 and space Page1.Page2 in the same cache entry. That means that it's possible to overwrite the rights of a space or a document by creating the page of the space with the same name and checking the right of the new one first so that they end up in the security cache and are used for the other too. The problem has been patched in XWiki 12.10.11, 13.10.1, and 13.4.6. There are no known workarounds.",
               },
            ],
         },
         impact: {
            cvss: {
               attackComplexity: "LOW",
               attackVector: "NETWORK",
               availabilityImpact: "NONE",
               baseScore: 7.1,
               baseSeverity: "HIGH",
               confidentialityImpact: "HIGH",
               integrityImpact: "LOW",
               privilegesRequired: "LOW",
               scope: "UNCHANGED",
               userInteraction: "NONE",
               vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N",
               version: "3.1",
            },
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        lang: "eng",
                        value: "CWE-285: Improper Authorization",
                     },
                  ],
               },
               {
                  description: [
                     {
                        lang: "eng",
                        value: "CWE-862: Missing Authorization",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6",
                  refsource: "CONFIRM",
                  url: "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6",
               },
               {
                  name: "https://jira.xwiki.org/browse/XWIKI-14075",
                  refsource: "MISC",
                  url: "https://jira.xwiki.org/browse/XWIKI-14075",
               },
               {
                  name: "https://jira.xwiki.org/browse/XWIKI-18983",
                  refsource: "MISC",
                  url: "https://jira.xwiki.org/browse/XWIKI-18983",
               },
            ],
         },
         source: {
            advisory: "GHSA-gg53-wf5x-r3r6",
            discovery: "UNKNOWN",
         },
      },
      "gitlab.com": {
         advisories: [
            {
               affected_range: "[5.0,12.10.11),[13.0,13.4.6),[13.10,13.10.1)",
               affected_versions: "All versions starting from 5.0 before 12.10.11, all versions starting from 13.0 before 13.4.6, all versions starting from 13.10 before 13.10.1",
               cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-862",
                  "CWE-937",
               ],
               date: "2022-09-20",
               description: "XWiki Platform Security Parent POM contains the security APIs for XWiki Platform, a generic wiki platform. Starting with version 5.0 and prior to 12.10.11, 13.10.1, and 13.4.6, a bug in the security cache stores rules associated to document Page1.Page2 and space Page1.Page2 in the same cache entry. That means that it's possible to overwrite the rights of a space or a document by creating the page of the space with the same name and checking the right of the new one first so that they end up in the security cache and are used for the other too. The problem has been patched in XWiki 12.10.11, 13.10.1, and 13.4.6. There are no known workarounds.",
               fixed_versions: [
                  "12.10.11",
                  "13.4.6",
                  "13.10.1",
               ],
               identifier: "CVE-2022-31167",
               identifiers: [
                  "GHSA-gg53-wf5x-r3r6",
                  "CVE-2022-31167",
               ],
               not_impacted: "All versions before 5.0, all versions starting from 12.10.11 before 13.0, all versions starting from 13.4.6 before 13.10, all versions starting from 13.10.1",
               package_slug: "maven/org.xwiki.platform/xwiki-platform-security",
               pubdate: "2022-09-20",
               solution: "Upgrade to versions 12.10.11, 13.4.6, 13.10.1 or above.",
               title: "Missing Authorization",
               urls: [
                  "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6",
                  "https://nvd.nist.gov/vuln/detail/CVE-2022-31167",
                  "https://jira.xwiki.org/browse/XWIKI-14075",
                  "https://jira.xwiki.org/browse/XWIKI-18983",
                  "https://github.com/advisories/GHSA-gg53-wf5x-r3r6",
               ],
               uuid: "9a620147-5e3c-4109-938d-7163a9aee265",
            },
         ],
      },
      "nvd.nist.gov": {
         configurations: {
            CVE_data_version: "4.0",
            nodes: [
               {
                  children: [],
                  cpe_match: [
                     {
                        cpe23Uri: "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "13.10.1",
                        versionStartIncluding: "13.5",
                        vulnerable: true,
                     },
                     {
                        cpe23Uri: "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "13.4.6",
                        versionStartIncluding: "13.0",
                        vulnerable: true,
                     },
                     {
                        cpe23Uri: "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "12.10.11",
                        versionStartIncluding: "5.0",
                        vulnerable: true,
                     },
                  ],
                  operator: "OR",
               },
            ],
         },
         cve: {
            CVE_data_meta: {
               ASSIGNER: "security-advisories@github.com",
               ID: "CVE-2022-31167",
            },
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "en",
                     value: "XWiki Platform Security Parent POM contains the security APIs for XWiki Platform, a generic wiki platform. Starting with version 5.0 and prior to 12.10.11, 13.10.1, and 13.4.6, a bug in the security cache stores rules associated to document Page1.Page2 and space Page1.Page2 in the same cache entry. That means that it's possible to overwrite the rights of a space or a document by creating the page of the space with the same name and checking the right of the new one first so that they end up in the security cache and are used for the other too. The problem has been patched in XWiki 12.10.11, 13.10.1, and 13.4.6. There are no known workarounds.",
                  },
               ],
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "en",
                           value: "CWE-862",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6",
                     refsource: "CONFIRM",
                     tags: [
                        "Exploit",
                        "Issue Tracking",
                        "Third Party Advisory",
                     ],
                     url: "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6",
                  },
                  {
                     name: "https://jira.xwiki.org/browse/XWIKI-14075",
                     refsource: "MISC",
                     tags: [
                        "Permissions Required",
                        "Vendor Advisory",
                     ],
                     url: "https://jira.xwiki.org/browse/XWIKI-14075",
                  },
                  {
                     name: "https://jira.xwiki.org/browse/XWIKI-18983",
                     refsource: "MISC",
                     tags: [
                        "Exploit",
                        "Issue Tracking",
                        "Vendor Advisory",
                     ],
                     url: "https://jira.xwiki.org/browse/XWIKI-18983",
                  },
               ],
            },
         },
         impact: {
            baseMetricV3: {
               cvssV3: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 6.5,
                  baseSeverity: "MEDIUM",
                  confidentialityImpact: "NONE",
                  integrityImpact: "HIGH",
                  privilegesRequired: "LOW",
                  scope: "UNCHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
                  version: "3.1",
               },
               exploitabilityScore: 2.8,
               impactScore: 3.6,
            },
         },
         lastModifiedDate: "2022-09-14T16:12Z",
         publishedDate: "2022-09-07T14:15Z",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • 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.