Skip to content

Karma Configuration File - Detect

ID: karma-config-js

Severity: medium

Author: DhiyaneshDk

Tags: config,exposure,devops

Karma configuration file was detected.

id: karma-config-js
info:
name: Karma Configuration File - Detect
author: DhiyaneshDk
severity: medium
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
cpe: cpe:2.3:a:karma_project:karma:*:*:*:*:node.js:*:*:*
metadata:
verified: true
max-request: 2
shodan-query: html:"karma.conf.js"
product: karma
vendor: karma_project
tags: config,exposure,devops
http:
- 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
# digest: 4a0a00473045022049d218be680405754936aa12b1001f4641bea3039055b351690e24105f6031f0022100bbad27e74e2c6a06b9c13886303879e0f1d4d38bf4a6b709b2b42c5f36b1f8d1:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/configs/karma-config-js.yaml"

View on Github