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:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 2
|
2022-06-11 18:23:03 +00:00
|
|
|
verified: true
|
|
|
|
shodan-query: html:"karma.conf.js"
|
|
|
|
tags: config,exposure,devops
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-06-11 18:23:03 +00:00
|
|
|
- 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
|