Seafile API - Detect
ID: seafile-api
Severity: info
Author: righettod
Tags: exposure,api,detect
Description
Section titled “Description”Seafile API was detected.
YAML Source
Section titled “YAML Source”id: seafile-api
info: name: Seafile API - Detect author: righettod severity: info description: | Seafile API was detected. reference: - https://download.seafile.com/published/web-api/home.md - https://manual.seafile.com/ - https://www.seafile.com/en/home/ classification: cpe: cpe:2.3:a:seafile:seafile:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: seafile product: seafile shodan-query: http.html:"seafile" tags: exposure,api,detect
http: - method: GET path: - '{{BaseURL}}/api2/server-info/'
matchers-condition: and matchers: - type: word part: body words: - 'seafile-basic' - 'seafile-pro' condition: or
- type: word part: header words: - 'application/json'
- type: status status: - 200
extractors: - type: regex part: body group: 1 regex: - '"version":\s*"([0-9.]+)"'# digest: 4a0a00473045022100ef8ca422e9ec1b0861c0f6d92eea4d4c38e181bfd19bb11ccd03573bba7f08fb02201834eacc7b479f9b06d55837e1d7dd504f11faa6143193e0d33323d29801fdd3:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/apis/seafile-api.yaml"