Skip to content

Pubspec YAML Configuration File - Detect

ID: pubspec-config

Severity: info

Author: DhiyaneshDk

Tags: exposure,devops,pubsec,config,cicd

Pubspec YAML configuration file was detected.

id: pubspec-config
info:
name: Pubspec YAML Configuration File - Detect
author: DhiyaneshDk
severity: info
description: Pubspec YAML configuration file was detected.
reference:
- https://docs.flutter.dev/development/tools/pubspec
- https://xeladu.medium.com/the-flutter-pubspec-yaml-in-detail-eee5729d9df7
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0
cwe-id: CWE-200
metadata:
verified: true
max-request: 2
shodan-query: html:"pubspec.yaml"
tags: exposure,devops,pubsec,config,cicd
http:
- method: GET
path:
- "{{BaseURL}}/pubspec.yaml"
- "{{BaseURL}}/assets/pubspec.yaml"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "version:"
- "environment:"
- "dependencies:"
condition: and
- type: status
status:
- 200
# digest: 490a0046304402205e518b5787f636271ac9f4bdcf911287c5f7680bfe78b1db5866083092b4af0402203daf255c1c6648bec8f5e3a0e90ac723bf6232eb8120830c48dfa3e4007d0dfe: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/pubspec-config.yaml"

View on Github