PT-2026-68481 · Hubzilla · Hubzilla
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Hubzilla versions prior to 11.4
Description
A cross-site request forgery (CSRF) issue exists in the OAuth2 '/authorize' endpoint, which is handled by the
post() function within ZotlabsModuleAuthorize. This occurs because the system fails to validate CSRF tokens or the Origin/Referer headers during cross-origin POST requests. An unauthenticated attacker can exploit this by using a malicious HTML form to submit arbitrary OAuth2 parameters, such as client id, client secret, redirect uri, and scope. This allows the attacker to silently register a persistent OAuth2 application under an authenticated user's account, potentially leading to the interception of future OAuth2 authorization codes when the victim authenticates against the attacker-controlled client.Recommendations
Update to version 11.4 or later.
As a temporary mitigation, restrict access to the '/authorize' endpoint or implement strict Origin/Referer validation for OAuth2 registration requests.
Exploit
Fix
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hubzilla