Skip to content

Netdisco Admin - Default Login

ID: netdisco-default-login

Severity: critical

Author: ritikchaddha

Tags: netdisco,default-login

Detects use of hard-coded credentials in Netdisco.

id: netdisco-default-login
info:
name: Netdisco Admin - Default Login
author: ritikchaddha
severity: critical
description: |
Detects use of hard-coded credentials in Netdisco.
impact: |
Attackers can potentially exploit this vulnerability to gain unauthorized access to sensitive information.
remediation: |
Update the application to remove hard-coded credentials and implement secure credential management practices.
metadata:
verified: true
max-request: 1
shodan-query: title:"Netdisco"
fofa-query: title="Netdisco"
tags: netdisco,default-login
variables:
username: "netdisco"
password: "netdisco"
http:
- raw:
- |
POST /login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username={{username}}&password={{password}}&return_url=%2Finventory
host-redirects: true
max-redirects: 2
matchers:
- type: dsl
dsl:
- contains_all(body, "User Management", "/admin/discoverall", "Logged in as")
- status_code == 200
condition: and
# digest: 4a0a0047304502201c3de6d9ad93d25b1ede05bf8779521570f4a639353208ece13b0b91aa29ff13022100cb02700c7eb9d0d2172b8e96025665ee82d5bf89f99e5ab4c2c8c467d8641f1a: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/default-logins/netdisco/netdisco-default-login.yaml"

View on Github