2022-10-25 20:38:56 +00:00
|
|
|
id: karma-config-js
|
2022-06-11 18:23:03 +00:00
|
|
|
|
|
|
|
info:
|
2023-02-09 21:25:02 +00:00
|
|
|
name: Karma Configuration File - Detect
|
2022-06-11 18:23:03 +00:00
|
|
|
author: DhiyaneshDk
|
|
|
|
severity: medium
|
2023-02-09 21:25:02 +00:00
|
|
|
description: Karma configuration file was detected.
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
|
|
cvss-score: 5.3
|
|
|
|
cwe-id: CWE-200
|
2022-06-11 18:23:03 +00:00
|
|
|
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
|
2023-02-09 21:25:02 +00:00
|
|
|
|
|
|
|
# Enhanced by md on 2023/02/09
|