2022-01-07 08:32:29 +00:00
id : cgi-printenv
info :
name : CGI script environment variable
2022-04-22 10:38:41 +00:00
author : emadshanab
2022-01-07 08:32:29 +00:00
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.
2022-04-22 10:38:41 +00:00
reference :
- https://www.acunetix.com/vulnerabilities/web/test-cgi-script-leaking-environment-variables/
2022-01-07 08:32:29 +00:00
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