nuclei-templates/network/default-login/ftp-anonymous-login.yaml

45 lines
1.2 KiB
YAML

id: ftp-anonymous-login
info:
name: FTP Anonymous Login
author: C3l3si4n,pussycat0x
severity: medium
description: |
Anonymous FTP access allows anyone to access your public_ftp folder, allowing unidentified visitors to download (and possibly upload) files on your website. Anonymous FTP creates the potential for a security hole for hackers and is not recommended.
reference:
- https://tools.ietf.org/html/rfc2577
metadata:
max-request: 1
tags: network,ftp,default-login,tcp
tcp:
- inputs:
- data: "USER anonymous\r\n"
read: 1024
- data: "PASS anonymous\r\n"
read: 1024
host:
- "{{Hostname}}"
port: 21
matchers-condition: and
matchers:
- type: word
part: raw
words:
- "Anonymous access allowed,"
- "Logged in anonymously"
- "230 "
condition: or
- type: word
part: raw
words:
- "HTTP/1.1"
- "230."
- ".230"
- "User cannot log"
negative: true
condition: or
# digest: 4a0a00473045022100a7f4c402ac849a566ccf4cb7cf33a4aefa2f40f454a0bba98f67fcefa06652150220532526cd9708bd4c5276bad8c8b77bf544c54136665160220a702cae7e4000a1:922c64590222798bb761d5b6d8e72950