Jenkins Open User registration
ID: jenkins-openuser-register
Severity: medium
Author: DhiyaneshDk
Tags: misconfig,jenkins,apache,tomcat
Description
Section titled “Description”The Jenkins allows registering a new user and accessing the dashboard.
YAML Source
Section titled “YAML Source”id: jenkins-openuser-register
info: name: Jenkins Open User registration author: DhiyaneshDk severity: medium description: The Jenkins allows registering a new user and accessing the dashboard. remediation: Its recommended to turn off user registration. reference: - https://www.acunetix.com/vulnerabilities/web/jenkins-open-user-registration/ classification: cpe: cpe:2.3:a:jenkins:jenkins:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: jenkins product: jenkins shodan-query: "X-Jenkins" tags: misconfig,jenkins,apache,tomcat
http: - method: GET path: - "{{BaseURL}}/signup"
matchers-condition: and matchers: - type: word part: body words: - "Create an account! [Jenkins]" - "Register [Jenkins]" - "Register - Jenkins"
- type: word part: header words: - "text/html"
- type: status status: - 200# digest: 4b0a004830460221009d04c4dfb8aaf498d5734564892e0913a268ee73cf39dabe90c3a2ee355ce3f10221009a46d6ef1c836da295a03a35f2632dd3bec36fb8607547543e98c41f016b2563: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/misconfiguration/jenkins/jenkins-openuser-register.yaml"