2022-10-25 20:38:56 +00:00
|
|
|
id: karma-config-js
|
2022-06-11 18:23:03 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Karma Configuration File Exposure
|
|
|
|
author: DhiyaneshDk
|
|
|
|
severity: medium
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
shodan-query: html:"karma.conf.js"
|
|
|
|
tags: config,exposure,devops
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.config/karma.conf.js"
|
|
|
|
- "{{BaseURL}}/karma.conf.js"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "// Karma configuration"
|
|
|
|
- "module.exports"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|