From fc4e6cb1825470fe314c6c52e1eb2ef549e5bdfd Mon Sep 17 00:00:00 2001 From: oppsec <50470310+oppsec@users.noreply.github.com> Date: Tue, 23 Feb 2021 22:24:38 -0300 Subject: [PATCH] Create bower-json.yaml --- exposures/files/bower-json.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 exposures/files/bower-json.yaml diff --git a/exposures/files/bower-json.yaml b/exposures/files/bower-json.yaml new file mode 100644 index 0000000000..1c5fd7bc2a --- /dev/null +++ b/exposures/files/bower-json.yaml @@ -0,0 +1,30 @@ +id: bower-json + +info: + name: bower.json file disclosure + author: oppsec + severity: info + description: Bower is a package manager which stores packages informations in bower.json file + +requests: + - method: GET + path: + - "{{BaseURL}}/bower.json" + + matchers-condition: and + matchers: + - type: word + words: + - "name" + - "description" + - "main" + condition: and + + - type: word + words: + - "application/json" + part: header + + - type: status + status: + - 200