2021-10-24 08:55:40 +00:00
|
|
|
id: idea-logs-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Public .idea Folder containing http logs
|
|
|
|
author: martincodes-de
|
|
|
|
severity: info
|
|
|
|
description: Searches for .idea Folder for http-requests-log.http and http-client.cookies file
|
|
|
|
tags: phpstorm,jetbrains,idea,exposure
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2021-10-24 08:55:40 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-24 08:55:40 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.idea/httpRequests/http-requests-log.http"
|
|
|
|
- "{{BaseURL}}/.idea/httpRequests/http-client.cookies"
|
|
|
|
|
|
|
|
matchers-condition: or
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- '(?m)^(GET|POST) https?:\/\/'
|
|
|
|
part: body
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "# domain path name value date"
|
|
|
|
part: body
|