id: sonarqube-projects-disclosure info: name: SonarQube - Information Disclosure author: DhiyaneshDk severity: medium description: | Information leakage vulnerability in an interface of SonarQube, you can download the source code through the tool. reference: - https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/wiki/webapp/SonarQube/SonarQube%20search_projects%20%E9%A1%B9%E7%9B%AE%E4%BF%A1%E6%81%AF%E6%B3%84%E9%9C%B2%E6%BC%8F%E6%B4%9E.md - https://github.com/deletescape/sloot metadata: verified: true max-request: 1 shodan-query: title:"Sonarqube" fofa-query: app="sonarQube-代码管理" tags: sonarqube,exposure,misconfig http: - method: GET path: - "{{BaseURL}}/api/components/search_projects" matchers-condition: and matchers: - type: word part: body words: - '"visibility":"public"' - '{"organization' condition: and - type: word part: header words: - 'application/json' - type: status status: - 200 # digest: 4a0a00473045022007a5c2766f7648947c60b9d94121e7d4c522fce141ab6513f1e74b4439e5c869022100e6096339fde4571b6d11b0a6aff6f84e658bead95452dcb7bf8e253ecd6f9c3f:922c64590222798bb761d5b6d8e72950