Detect Jenkins in Debug Mode with Stack Traces Enabled
ID: jenkins-stack-trace
Severity: low
Author: Dheerajmadhukar
Tags: jenkins,hackerone
Description
Section titled “Description”Module identified that the affected host is running an instance of Jenkins in debug mode, as a result stack traces are enabled.
YAML Source
Section titled “YAML Source”id: jenkins-stack-trace
info: name: Detect Jenkins in Debug Mode with Stack Traces Enabled author: Dheerajmadhukar severity: low description: Module identified that the affected host is running an instance of Jenkins in debug mode, as a result stack traces are enabled. reference: - https://hackerone.com/reports/221833 metadata: max-request: 1 tags: jenkins,hackerone
http: - method: GET path: - "{{BaseURL}}/adjuncts/3a890183/"
matchers-condition: and matchers: - type: word words: - "java.lang.StringIndexOutOfBoundsException" - "String index out of range" part: body condition: and
- type: status status: - 500# digest: 4a0a00473045022100dd041469ac90a73e998bb16071bd0055d2eb5c03b287678e816b63c5cf35abb202205c3df37814d6a54378c3655ff396d170800f8e16263fb7c647bf106a8a6d357e: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/vulnerabilities/jenkins/jenkins-stack-trace.yaml"