40 lines
913 B
YAML
40 lines
913 B
YAML
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: 490a0046304402206d1d9d288334091e106abd072604585b6dfee9d3b1502c8aa87423221ac2831302202246cd47774b89a900794e221e20b98793cf220b8e593774c198db3e234c8bfa:922c64590222798bb761d5b6d8e72950
|