Skip to content

[stable34] fix(signaling): allow SIP bridge to access getSettings without a user session#18119

Merged
miaulalala merged 1 commit into
stable34from
backport/18115/stable34
May 27, 2026
Merged

[stable34] fix(signaling): allow SIP bridge to access getSettings without a user session#18119
miaulalala merged 1 commit into
stable34from
backport/18115/stable34

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 27, 2026

Backport of PR #18115

… session

The security fix in #17576 tightened unauthenticated access to
getSettings(), breaking SIP bridge connections. The SIP bridge is a
headless service with no userId that authenticates via HMAC headers
(talk-sipbridge-random / talk-sipbridge-checksum), which getSettings()
was never taught to recognise.

Mirror the existing recording-backend detection block: validate the SIP
bridge headers when present, return 401 + brute-force throttle on failure,
and allow the no-token neutral-point path when the request is authenticated.

AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@backportbot backportbot Bot requested review from fancycode and miaulalala May 27, 2026 10:44
@backportbot backportbot Bot added bug regression feature: api 🛠️ OCS API for conversations, chats and participants feature: SFU & SIP ☎️ labels May 27, 2026
@backportbot backportbot Bot added this to the 🏖️ Next RC (34) milestone May 27, 2026
@miaulalala miaulalala enabled auto-merge May 27, 2026 10:47
@miaulalala miaulalala merged commit 989141e into stable34 May 27, 2026
79 checks passed
@miaulalala miaulalala deleted the backport/18115/stable34 branch May 27, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug feature: api 🛠️ OCS API for conversations, chats and participants feature: SFU & SIP ☎️ regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant