Radicale is running with authentication disabled ([auth] type = none). This was the default configuration before Radicale 3.5.0. In this mode the server answers WebDAV requests without credentials and accepts any username with any password, so anyone who can reach it can log in as an existing user and read, change or delete that user's calendars, to-do lists and address books.
Details
Severity
高危
Published
PoC
Public
PoC
id: radicale-unauth-access
info:
name: Radicale - Authentication Disabled
author: MrCyberDuck
severity: high
description: |
Radicale is running with authentication disabled ([auth] type = none). This was the default configuration before Radicale 3.5.0. In this mode the server answers WebDAV requests without credentials and accepts any username with any password, so anyone who can reach it can log in as an existing user and read, change or delete that user's calendars, to-do lists and address books.
impact: |
An unauthenticated attacker can read and modify the calendars and contacts of every user on the server by logging in with that user's name and any password.
remediation: |
Configure an authentication backend in the [auth] section (for example type = htpasswd), or upgrade to Radicale 3.5.0 or later, where the default is type = denyall.
reference:
- https://radicale.org/v3.html#auth
- https://github.com/Kozea/Radicale/blob/master/CHANGELOG.md#350
classification:
cwe-id: CWE-306
cpe: cpe:2.3:a:radicale:radicale:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: radicale
product: radicale
shodan-query: http.title:"Radicale Web Interface"
fofa-query: title="Radicale Web Interface"
tags: misconfig,radicale,caldav,carddav,unauth,vuln
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/.web/"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body, "<title>Radicale Web Interface</title>", "id=\"loadingscene\"")'
condition: and
internal: true
- raw:
- |
PROPFIND / HTTP/1.1
Host: {{Hostname}}
Depth: 0
matchers:
- type: dsl
dsl:
- 'status_code == 207'
- 'contains(content_type, "xml")'
- 'contains_all(body, "<multistatus xmlns=\"DAV:\">", "<principal-collection-set>", "<current-user-principal><unauthenticated /></current-user-principal>")'
condition: and
# digest: 4b0a00483046022100fae7ef4bc3156f6a63791e42c49fba7e02ed3ab8cae65e83b9f210b3231fef5b0221009d2b2c44c29c93e91067dd5ed439a64c8dd0d650914aee818654656e25981e37:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.