commit
37139b6856
|
@ -0,0 +1,45 @@
|
|||
id: sonarqube-default-login
|
||||
|
||||
info:
|
||||
name: SonarQube Default Login - Detect
|
||||
author: Ep1cSage
|
||||
severity: high
|
||||
description: |
|
||||
SonarQube 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://docs.sonarsource.com/sonarqube/9.6/instance-administration/security/#:~:text=When%20installing%20SonarQube%2C%20a%20default,Password%3A%20admin
|
||||
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
|
||||
metadata:
|
||||
max-request: 4
|
||||
verified: true
|
||||
shodan-query: title:"Sonarqube"
|
||||
tags: default-login,sonarqube
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
POST /api/authentication/login HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
login={{username}}&password={{password}}
|
||||
|
||||
attack: clusterbomb
|
||||
payloads:
|
||||
username:
|
||||
- sonar
|
||||
- admin
|
||||
password:
|
||||
- sonar
|
||||
- admin
|
||||
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'status_code == 200'
|
||||
- 'len(body) == 0'
|
||||
- 'contains(set_cookie, "JWT-SESSION=")'
|
||||
condition: and
|
Loading…
Reference in New Issue