2020-07-24 07:13:24 +00:00
|
|
|
id: web-config
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2020-07-24 07:13:24 +00:00
|
|
|
info:
|
2020-07-24 10:04:43 +00:00
|
|
|
name: Web Config file
|
2022-08-31 16:38:19 +00:00
|
|
|
author: Yash Anand @yashanand155,DhiyaneshDK
|
2020-07-24 10:02:27 +00:00
|
|
|
severity: info
|
2023-02-24 18:48:47 +00:00
|
|
|
description: Web configuration file was detected.
|
2022-08-31 16:06:39 +00:00
|
|
|
reference: https://github.com/imhunterand/ApachSAL/blob/main/assets/exploits.json
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: config,exposure
|
2020-07-24 10:02:27 +00:00
|
|
|
|
2020-07-24 07:13:24 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/web.config'
|
2022-08-31 16:06:39 +00:00
|
|
|
- '{{BaseURL}}/../../web.config'
|
2020-07-24 10:02:27 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
2020-07-24 07:13:24 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- <configuration>
|
2020-07-24 10:02:27 +00:00
|
|
|
- <system.webServer>
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2022-08-31 16:06:39 +00:00
|
|
|
- 200
|
2023-02-24 18:48:47 +00:00
|
|
|
|
|
|
|
# Enhanced by md on 2023/02/24
|