Merge pull request #6223 from S0obi/feature/add-karaf-templates

Add Apache Karaf templates
patch-1
Dhiyaneshwaran 2022-12-08 14:51:28 +05:30 committed by GitHub
commit 72aeb72c65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,36 @@
id: karaf-default-login
info:
name: Apache Karaf Default Login
author: s0obi
severity: high
description: Apache Karaf default login credentials were discovered.
reference:
- https://karaf.apache.org/manual/latest/webconsole
metadata:
verified: true
shodan-query: realm="karaf"
tags: default-login,apache,karaf
requests:
- raw:
- |
GET /system/console HTTP/1.1
Host: {{Hostname}}
Authorization: Basic {{base64('karaf:karaf')}}
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Apache Karaf Web Console - Bundles"
- "Web Console</a>"
- "Log out</a>"
condition: and
- type: status
status:
- 200

View File

@ -0,0 +1,21 @@
id: apache-karaf-panel
info:
name: Apache Karaf Detect
author: s0obi
severity: info
metadata:
verified: true
shodan-query: realm="karaf"
tags: tech,apache,karaf
requests:
- method: GET
path:
- "{{BaseURL}}/system/console"
matchers:
- type: word
part: header
words:
- 'realm="karaf'