ghsa-fp36-mjw5-fmgx
Vulnerability from github
Published
2023-04-20 21:39
Modified
2023-04-20 21:39
Summary
xwiki-platform-web-templates allows users to be created even when registration is disabled without validation via template macro
Details

Impact

If a guest has view rights on any document, it's possible to create a new user using the distribution/firstadminuser.wiki in the wrong context.

To reproduce:

  • On a wiki with view rights for guests but user registration disabled, open as guest /xwiki/bin/view/Main?sheet=CKEditor.HTMLConverter&language=en&sourceSyntax=xwiki%2F2.1&stripHTMLEnvelope=true&fromHTML=false&toHTML=true&text=%7B%7Btemplate+name%3D%22distribution%2Ffirstadminuser.wiki%22+%2F%7D%7D where is the URL of your XWiki installation.
  • Enter username and password of your choice.
  • Click "Register and login"

Patches

The vulnerability has been patched in XWiki 15.0-rc-1 and 14.10.1.

Workarounds

There is no known workaround other than upgrading.

References

https://jira.xwiki.org/browse/XWIKI-19852 https://jira.xwiki.org/browse/XWIKI-20400

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

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Maven",
        "name": "org.xwiki.platform:xwiki-platform-web-templates"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "8.0-rc-1"
            },
            {
              "fixed": "14.10.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2023-29513"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-284"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-04-20T21:39:56Z",
    "nvd_published_at": "2023-04-19T00:15:08Z",
    "severity": "MODERATE"
  },
  "details": "### Impact\n\nIf a guest has view rights on any document, it\u0027s possible to create a new user using the `distribution/firstadminuser.wiki` in the wrong context.\n\nTo reproduce:\n\n* On a wiki with view rights for guests but user registration disabled, open as guest \u003cserver\u003e/xwiki/bin/view/Main?sheet=CKEditor.HTMLConverter\u0026language=en\u0026sourceSyntax=xwiki%2F2.1\u0026stripHTMLEnvelope=true\u0026fromHTML=false\u0026toHTML=true\u0026text=%7B%7Btemplate+name%3D%22distribution%2Ffirstadminuser.wiki%22+%2F%7D%7D where \u003cserver\u003e is the URL of your XWiki installation.\n* Enter username and password of your choice.\n* Click \"Register and login\"\n\n### Patches\n\nThe vulnerability has been patched in XWiki 15.0-rc-1 and 14.10.1.\n\n### Workarounds\nThere is no known workaround other than upgrading.\n\n### References\nhttps://jira.xwiki.org/browse/XWIKI-19852\nhttps://jira.xwiki.org/browse/XWIKI-20400\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)\n",
  "id": "GHSA-fp36-mjw5-fmgx",
  "modified": "2023-04-20T21:39:56Z",
  "published": "2023-04-20T21:39:56Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fp36-mjw5-fmgx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29513"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/xwiki/xwiki-platform"
    },
    {
      "type": "WEB",
      "url": "https://jira.xwiki.org/browse/XWIKI-19852"
    },
    {
      "type": "WEB",
      "url": "https://jira.xwiki.org/browse/XWIKI-20400"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "xwiki-platform-web-templates allows users to be created even when registration is disabled without validation via template macro"
}


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.