Skip to content

Gunicorn Config File - File Disclosure

ID: gunicorn-config-file

Severity: low

Author: DhiyaneshDk

Tags: exposure,files,gunicorn

Gunicorn Config file is exposed.

id: gunicorn-config-file
info:
name: Gunicorn Config File - File Disclosure
author: DhiyaneshDk
severity: low
description: |
Gunicorn Config file is exposed.
metadata:
verified: true
max-request: 1
shodan-query: html:"gunicorn.conf.py"
tags: exposure,files,gunicorn
http:
- method: GET
path:
- '{{BaseURL}}/gunicorn.conf.py'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'bind ='
- 'workers ='
condition: and
case-insensitive: true
- type: word
part: content_type
words:
- 'text/x-python'
# digest: 4b0a00483046022100a2dc92f2cfd1dae26e792ce9937cc4c253371ca07d7fe738a9f19dfb8f8c0b50022100b1f52b2920746241e725bd07e5f009ad8737fd36a8351f2eea0ab351793e1659:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/exposures/files/gunicorn-config-file.yaml"

View on Github