gsd-2023-29207
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
XWiki Commons are technical libraries common to several other top level XWiki projects. The Livetable Macro wasn't properly sanitizing column names, thus allowing the insertion of raw HTML code including JavaScript. This vulnerability was also exploitable via the Documents Macro that is included since XWiki 3.5M1 and doesn't require script rights, this can be demonstrated with the syntax `{{documents id="example" count="5" actions="false" columns="doc.title, before<script>alert(1)</script>after"/}}`. Therefore, this can also be exploited by users without script right and in comments. With the interaction of a user with more rights, this could be used to execute arbitrary actions in the wiki, including privilege escalation, remote code execution, information disclosure, modifying or deleting content. This has been patched in XWiki 14.9, 14.4.6, and 13.10.10.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2023-29207",
    "id": "GSD-2023-29207"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2023-29207"
      ],
      "details": " XWiki Commons are technical libraries common to several other top level XWiki projects. The Livetable Macro wasn\u0027t properly sanitizing column names, thus allowing the insertion of raw HTML code including JavaScript. This vulnerability was also exploitable via the Documents Macro that is included since XWiki 3.5M1 and doesn\u0027t require script rights, this can be demonstrated with the syntax `{{documents id=\"example\" count=\"5\" actions=\"false\" columns=\"doc.title, before\u003cscript\u003ealert(1)\u003c/script\u003eafter\"/}}`. Therefore, this can also be exploited by users without script right and in comments. With the interaction of a user with more rights, this could be used to execute arbitrary actions in the wiki, including privilege escalation, remote code execution, information disclosure, modifying or deleting content. This has been patched in XWiki 14.9, 14.4.6, and 13.10.10.\n",
      "id": "GSD-2023-29207",
      "modified": "2023-12-13T01:20:56.649455Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2023-29207",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "xwiki-platform",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 1.9-milestone-2, \u003c 13.10.10"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 14.0-rc-1, \u003c 14.4.6"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 14.5, \u003c 14.9"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "xwiki"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": " XWiki Commons are technical libraries common to several other top level XWiki projects. The Livetable Macro wasn\u0027t properly sanitizing column names, thus allowing the insertion of raw HTML code including JavaScript. This vulnerability was also exploitable via the Documents Macro that is included since XWiki 3.5M1 and doesn\u0027t require script rights, this can be demonstrated with the syntax `{{documents id=\"example\" count=\"5\" actions=\"false\" columns=\"doc.title, before\u003cscript\u003ealert(1)\u003c/script\u003eafter\"/}}`. Therefore, this can also be exploited by users without script right and in comments. With the interaction of a user with more rights, this could be used to execute arbitrary actions in the wiki, including privilege escalation, remote code execution, information disclosure, modifying or deleting content. This has been patched in XWiki 14.9, 14.4.6, and 13.10.10.\n"
          }
        ]
      },
      "impact": {
        "cvss": [
          {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 8.9,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L",
            "version": "3.1"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-79",
                "lang": "eng",
                "value": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp",
            "refsource": "MISC",
            "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp"
          },
          {
            "name": "https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126",
            "refsource": "MISC",
            "url": "https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126"
          },
          {
            "name": "https://jira.xwiki.org/browse/XWIKI-15205",
            "refsource": "MISC",
            "url": "https://jira.xwiki.org/browse/XWIKI-15205"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-6vgh-9r3c-2cxp",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "[1.9-milestone-2,13.10.10),[14.0-rc-1,14.4.6),[14.5,14.9)",
          "affected_versions": "All versions starting from 1.9-milestone-2 before 13.10.10, all versions starting from 14.0-rc-1 before 14.4.6, all versions starting from 14.5 before 14.9",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-04-12",
          "description": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) in org.xwiki.platform:xwiki-platform-flamingo-skin-resources.",
          "fixed_versions": [
            "13.10.10",
            "14.4.6",
            "14.9"
          ],
          "identifier": "CVE-2023-29207",
          "identifiers": [
            "GHSA-6vgh-9r3c-2cxp",
            "CVE-2023-29207"
          ],
          "not_impacted": "All versions before 1.9-milestone-2, all versions starting from 13.10.10 before 14.0-rc-1, all versions starting from 14.4.6 before 14.5, all versions starting from 14.9",
          "package_slug": "maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources",
          "pubdate": "2023-04-12",
          "solution": "Upgrade to versions 13.10.10, 14.4.6, 14.9 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp",
            "https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126",
            "https://jira.xwiki.org/browse/XWIKI-15205",
            "https://github.com/advisories/GHSA-6vgh-9r3c-2cxp"
          ],
          "uuid": "50bdbd7c-f05d-4168-a576-3c34651a409b"
        },
        {
          "affected_range": "[1.9-milestone-2,13.10.10),[14.0-rc-1,14.4.6),[14.5,14.9)",
          "affected_versions": "All versions starting from 1.9-milestone-2 before 13.10.10, all versions starting from 14.0-rc-1 before 14.4.6, all versions starting from 14.5 before 14.9",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-04-12",
          "description": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) in org.xwiki.platform:xwiki-platform-flamingo-skin.",
          "fixed_versions": [
            "13.10.10",
            "14.4.6",
            "14.9"
          ],
          "identifier": "CVE-2023-29207",
          "identifiers": [
            "GHSA-6vgh-9r3c-2cxp",
            "CVE-2023-29207"
          ],
          "not_impacted": "All versions before 1.9-milestone-2, all versions starting from 13.10.10 before 14.0-rc-1, all versions starting from 14.4.6 before 14.5, all versions starting from 14.9",
          "package_slug": "maven/org.xwiki.platform/xwiki-platform-flamingo-skin",
          "pubdate": "2023-04-12",
          "solution": "Upgrade to versions 13.10.10, 14.4.6, 14.9 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp",
            "https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126",
            "https://jira.xwiki.org/browse/XWIKI-15205",
            "https://github.com/advisories/GHSA-6vgh-9r3c-2cxp"
          ],
          "uuid": "f2c1ec5a-8c1c-4d0c-b12d-247b0cad0241"
        },
        {
          "affected_range": "[1.9-milestone-2,13.10.10),[14.0-rc-1,14.4.6),[14.5,14.9)",
          "affected_versions": "All versions starting from 1.9-milestone-2 before 13.10.10, all versions starting from 14.0-rc-1 before 14.4.6, all versions starting from 14.5 before 14.9",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-04-12",
          "description": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) in org.xwiki.platform:xwiki-platform-flamingo.",
          "fixed_versions": [
            "13.10.10",
            "14.4.6",
            "14.9"
          ],
          "identifier": "CVE-2023-29207",
          "identifiers": [
            "GHSA-6vgh-9r3c-2cxp",
            "CVE-2023-29207"
          ],
          "not_impacted": "All versions before 1.9-milestone-2, all versions starting from 13.10.10 before 14.0-rc-1, all versions starting from 14.4.6 before 14.5, all versions starting from 14.9",
          "package_slug": "maven/org.xwiki.platform/xwiki-platform-flamingo",
          "pubdate": "2023-04-12",
          "solution": "Upgrade to versions 13.10.10, 14.4.6, 14.9 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp",
            "https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126",
            "https://jira.xwiki.org/browse/XWIKI-15205",
            "https://github.com/advisories/GHSA-6vgh-9r3c-2cxp"
          ],
          "uuid": "3fc4dc23-0ddc-4711-ba9c-a976c7e945d3"
        },
        {
          "affected_range": "[1.9-milestone-2,13.10.10),[14.0-rc-1,14.4.6),[14.5,14.9)",
          "affected_versions": "All versions starting from 1.9-milestone-2 before 13.10.10, all versions starting from 14.0-rc-1 before 14.4.6, all versions starting from 14.5 before 14.9",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-04-12",
          "description": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) in org.xwiki.platform:xwiki-platform-web-templates.",
          "fixed_versions": [
            "13.10.10",
            "14.4.6",
            "14.9"
          ],
          "identifier": "CVE-2023-29207",
          "identifiers": [
            "GHSA-6vgh-9r3c-2cxp",
            "CVE-2023-29207"
          ],
          "not_impacted": "All versions before 1.9-milestone-2, all versions starting from 13.10.10 before 14.0-rc-1, all versions starting from 14.4.6 before 14.5, all versions starting from 14.9",
          "package_slug": "maven/org.xwiki.platform/xwiki-platform-web-templates",
          "pubdate": "2023-04-12",
          "solution": "Upgrade to versions 13.10.10, 14.4.6, 14.9 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp",
            "https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126",
            "https://jira.xwiki.org/browse/XWIKI-15205",
            "https://github.com/advisories/GHSA-6vgh-9r3c-2cxp"
          ],
          "uuid": "7bdb6db5-6f47-4c89-b4a2-3480190b0736"
        },
        {
          "affected_range": "[1.9-milestone-2,13.10.10),[14.0-rc-1,14.4.6),[14.5,14.9)",
          "affected_versions": "All versions starting from 1.9-milestone-2 before 13.10.10, all versions starting from 14.0-rc-1 before 14.4.6, all versions starting from 14.5 before 14.9",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-04-12",
          "description": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) in org.xwiki.platform:xwiki-platform-web.",
          "fixed_versions": [
            "13.10.10",
            "14.4.6",
            "14.9"
          ],
          "identifier": "CVE-2023-29207",
          "identifiers": [
            "GHSA-6vgh-9r3c-2cxp",
            "CVE-2023-29207"
          ],
          "not_impacted": "All versions before 1.9-milestone-2, all versions starting from 13.10.10 before 14.0-rc-1, all versions starting from 14.4.6 before 14.5, all versions starting from 14.9",
          "package_slug": "maven/org.xwiki.platform/xwiki-platform-web",
          "pubdate": "2023-04-12",
          "solution": "Upgrade to versions 13.10.10, 14.4.6, 14.9 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp",
            "https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126",
            "https://jira.xwiki.org/browse/XWIKI-15205",
            "https://github.com/advisories/GHSA-6vgh-9r3c-2cxp"
          ],
          "uuid": "d6ed2a94-1c23-4e72-813b-757657ca59c7"
        },
        {
          "affected_range": "[1.9-milestone-2,13.10.10),[14.0-rc-1,14.4.6),[14.5,14.9)",
          "affected_versions": "All versions starting from 1.9-milestone-2 before 13.10.10, all versions starting from 14.0-rc-1 before 14.4.6, all versions starting from 14.5 before 14.9",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-04-12",
          "description": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) in org.xwiki.platform:xwiki-web-standard.",
          "fixed_versions": [
            "13.10.10",
            "14.4.6",
            "14.9"
          ],
          "identifier": "CVE-2023-29207",
          "identifiers": [
            "GHSA-6vgh-9r3c-2cxp",
            "CVE-2023-29207"
          ],
          "not_impacted": "All versions before 1.9-milestone-2, all versions starting from 13.10.10 before 14.0-rc-1, all versions starting from 14.4.6 before 14.5, all versions starting from 14.9",
          "package_slug": "maven/org.xwiki.platform/xwiki-web-standard",
          "pubdate": "2023-04-12",
          "solution": "Upgrade to versions 13.10.10, 14.4.6, 14.9 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp",
            "https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126",
            "https://jira.xwiki.org/browse/XWIKI-15205",
            "https://github.com/advisories/GHSA-6vgh-9r3c-2cxp"
          ],
          "uuid": "b1cb3d63-0cd7-43c0-aeed-9013b270eb5a"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "14.9",
                "versionStartIncluding": "14.5",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "14.4.6",
                "versionStartIncluding": "14.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "13.10.10",
                "versionStartIncluding": "1.9",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:xwiki:xwiki:1.9:milestone2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2023-29207"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": " XWiki Commons are technical libraries common to several other top level XWiki projects. The Livetable Macro wasn\u0027t properly sanitizing column names, thus allowing the insertion of raw HTML code including JavaScript. This vulnerability was also exploitable via the Documents Macro that is included since XWiki 3.5M1 and doesn\u0027t require script rights, this can be demonstrated with the syntax `{{documents id=\"example\" count=\"5\" actions=\"false\" columns=\"doc.title, before\u003cscript\u003ealert(1)\u003c/script\u003eafter\"/}}`. Therefore, this can also be exploited by users without script right and in comments. With the interaction of a user with more rights, this could be used to execute arbitrary actions in the wiki, including privilege escalation, remote code execution, information disclosure, modifying or deleting content. This has been patched in XWiki 14.9, 14.4.6, and 13.10.10.\n"
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://jira.xwiki.org/browse/XWIKI-15205",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Issue Tracking"
              ],
              "url": "https://jira.xwiki.org/browse/XWIKI-15205"
            },
            {
              "name": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp"
            },
            {
              "name": "https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126",
              "refsource": "MISC",
              "tags": [
                "Patch"
              ],
              "url": "https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.0,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 2.3,
          "impactScore": 6.0
        }
      },
      "lastModifiedDate": "2023-04-26T19:29Z",
      "publishedDate": "2023-04-15T16:15Z"
    }
  }
}


Log in or create an account to share your comment.




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.