ghsa-jjm5-5v9v-7hx2
Vulnerability from github
Published
2023-04-12 20:36
Modified
2023-04-26 20:33
Summary
org.xwiki.platform:xwiki-platform-security-authentication-default XSS with authenticate endpoints
Details

Impact

It was possible to inject some code using the URL of authenticate endpoints, e.g.:

https://hostname/xwiki/authenticate/wiki/xwiki%22onload=%22alert(origin)%22/resetpassword

This vulnerability was present in recent versions of XWiki: - 13.10.8+ - 14.4.3+ - 14.6+

Patches

This problem has been patched on XWiki 13.10.11, 14.4.7 and 14.10.

Workarounds

There is no easy workaround except to upgrade.

References

  • https://jira.xwiki.org/browse/XWIKI-20335
  • https://github.com/xwiki/xwiki-platform/commit/1943ea26c967ef868fb5f67c487d98d97cba0380

For more information

If you have any questions or comments about this advisory: * Open an issue in Jira * Email us at security mailing-list

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Maven",
            name: "org.xwiki.platform:xwiki-platform-security-authentication-default",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "13.10.8",
                  },
                  {
                     fixed: "13.10.11",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.xwiki.platform:xwiki-platform-security-authentication-default",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "14.4.3",
                  },
                  {
                     fixed: "14.4.7",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.xwiki.platform:xwiki-platform-security-authentication-default",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "14.6",
                  },
                  {
                     fixed: "14.10",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2023-29506",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-79",
      ],
      github_reviewed: true,
      github_reviewed_at: "2023-04-12T20:36:19Z",
      nvd_published_at: "2023-04-16T07:15:00Z",
      severity: "MODERATE",
   },
   details: "### Impact\n\nIt was possible to inject some code using the URL of authenticate endpoints, e.g.:\n\n```\nhttps://hostname/xwiki/authenticate/wiki/xwiki%22onload=%22alert(origin)%22/resetpassword\n```\n\nThis vulnerability was present in recent versions of XWiki:\n  - 13.10.8+\n  - 14.4.3+\n  - 14.6+\n\n### Patches\n\nThis problem has been patched on XWiki 13.10.11, 14.4.7 and 14.10.\n\n### Workarounds\nThere is no easy workaround except to upgrade.\n\n### References\n\n  - https://jira.xwiki.org/browse/XWIKI-20335\n  - https://github.com/xwiki/xwiki-platform/commit/1943ea26c967ef868fb5f67c487d98d97cba0380\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira](https://jira.xwiki.org)\n* Email us at [security mailing-list](mailto:security@xwiki.org)\n",
   id: "GHSA-jjm5-5v9v-7hx2",
   modified: "2023-04-26T20:33:32Z",
   published: "2023-04-12T20:36:19Z",
   references: [
      {
         type: "WEB",
         url: "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jjm5-5v9v-7hx2",
      },
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2023-29506",
      },
      {
         type: "WEB",
         url: "https://github.com/xwiki/xwiki-platform/commit/1943ea26c967ef868fb5f67c487d98d97cba0380",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/xwiki/xwiki-platform",
      },
      {
         type: "WEB",
         url: "https://jira.xwiki.org/browse/XWIKI-20335",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
         type: "CVSS_V3",
      },
   ],
   summary: "org.xwiki.platform:xwiki-platform-security-authentication-default XSS with authenticate endpoints",
}


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.