nuclei-templates/exposures/configs/cgi-printenv.yaml

30 lines
800 B
YAML

id: cgi-printenv
info:
name: CGI script environment variable
author: emadshanab
severity: medium
description: A test CGI (Common Gateway Interface) script was found on this server. The response page returned by this CGI script is leaking a list of server environment variables.
reference:
- https://www.acunetix.com/vulnerabilities/web/test-cgi-script-leaking-environment-variables/
tags: exposure,generic,cgi
requests:
- method: GET
path:
- "{{BaseURL}}/cgi-bin/printenv.pl"
matchers-condition: and
matchers:
- type: word
words:
- 'MYSQL_HOME'
- 'OPENSSL_CONF'
- 'REMOTE_ADDR'
- 'SERVER_ADMIN'
- 'Environment Variables:'
condition: or
- type: status
status:
- 200