Skip to content

SonarQube Token Disclosure

ID: sonarqube-token

Severity: info

Author: Ice3man

Tags: exposure,token,sonarqube

id: sonarqube-token
info:
name: SonarQube Token Disclosure
author: Ice3man
severity: info
metadata:
max-request: 1
tags: exposure,token,sonarqube
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- "sonar.{0,50}(?:\"|'|`)?[0-9a-f]{40}(?:\"|'|`)?"
# digest: 4a0a00473045022100fd7807343988bffa41b6b1300d5b807f1be0d8ad15810092055d525ca1ed96920220367fc8e0bcd5718ed74260f0356735c7d20e3d1fb235826490aaadcf1786908a:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/sonarqube/sonarqube-token.yaml"

View on Github