Skip to content

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

Merged
miaulalala merged 1 commit into
stable33from
backport/18115/stable33
May 27, 2026
Merged

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

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:43
@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 Patch (33) milestone May 27, 2026
@miaulalala miaulalala enabled auto-merge May 27, 2026 10:47
@miaulalala miaulalala merged commit 17778e6 into stable33 May 27, 2026
78 of 80 checks passed
@miaulalala miaulalala deleted the backport/18115/stable33 branch May 27, 2026 12:35
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