Skip to content

bower.json File Disclosure

ID: bower-json

Severity: info

Author: oppsec,noraj

Tags: exposure,files,bower

Bower is a package manager which stores package information in the bower.json file

id: bower-json
info:
name: bower.json File Disclosure
author: oppsec,noraj
severity: info
description: |
Bower is a package manager which stores package information in the bower.json file
reference:
- https://github.com/bower/spec/blob/master/json.md
metadata:
max-request: 1
tags: exposure,files,bower
http:
- method: GET
path:
- "{{BaseURL}}/bower.json"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "name"
- "description"
- "main"
condition: and
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200
# digest: 490a004630440220336baa94c6fa76144859dd2aee71a3f66b5a06a836448ff21bacbeb7662aa26b0220704f669233892038581f17c6fa725caa6c9c86a79563b79f0f562a96f87749cb: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/files/bower-json.yaml"

View on Github