nuclei-templates/network/clamav-unauth.yaml

34 lines
949 B
YAML
Raw Normal View History

2022-10-24 00:51:53 +00:00
id: clamav-unauth
info:
name: ClamAV Server - Unauthenticated Access
author: dwisiswant0
severity: high
description: |
ClamAV server 0.99.2, and possibly other previous versions, allow the execution
of dangerous service commands without authentication. Specifically, the command 'SCAN'
may be used to list system files and the command 'SHUTDOWN' shut downs the service.
2022-10-25 12:01:33 +00:00
metadata:
max-request: 2
2022-10-25 12:01:33 +00:00
verified: true
2022-10-25 12:02:26 +00:00
shodan-query: 'port:3310 product:"ClamAV" version:"0.99.2"'
2022-10-24 00:51:53 +00:00
reference:
- https://seclists.org/nmap-dev/2016/q2/201
- https://bugzilla.clamav.net/show_bug.cgi?id=11585
tags: network,clamav,unauth,seclists
2022-10-24 00:51:53 +00:00
tcp:
2022-10-24 00:51:53 +00:00
- inputs:
- data: "SCAN /nonexistent/{{to_lower(rand_text_alpha(10))}}\r\n"
host:
- "{{Hostname}}"
- "{{Host}}:3310"
read-size: 48
2022-10-25 12:01:33 +00:00
2022-10-24 00:51:53 +00:00
matchers:
- type: word
words:
2022-10-25 12:01:33 +00:00
- "No such"
- "lstat() failed"
condition: and