Apache Karaf - Default Login
ID: karaf-default-login
Severity: high
Author: s0obi
Tags: default-login,apache,karaf
Description
Section titled “Description”Apache Karaf contains a default login vulnerability. Default login credentials were detected. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations.
YAML Source
Section titled “YAML Source”id: karaf-default-login
info: name: Apache Karaf - Default Login author: s0obi severity: high description: Apache Karaf contains a default login vulnerability. Default login credentials were detected. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations. reference: - https://karaf.apache.org/manual/latest/webconsole classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L cvss-score: 8.3 cwe-id: CWE-522 cpe: cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 shodan-query: realm="karaf" product: karaf vendor: apache tags: default-login,apache,karaf
http: - 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# digest: 4a0a00473045022100d7d43ffe4d167e0e5f9a9a3e87b92bfbb42f71f4562a37739ecf7b003f06809202207be832a4fdac33cd2ecc25df797ba2df11e4d4080d871eea62f1b8117286e8bc:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”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.
$ nuclei -u "URL" -t "http/default-logins/apache/karaf-default-login.yaml"