CSRF protection incorrectly disabled
Description
In the Open Build Service (OBS) before version 2.4.6 the CSRF protection is incorrectly disabled in the web interface, allowing for requests without the user's consent.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Open Build Service (OBS) before 2.4.6 had CSRF protection disabled, allowing attackers to forge requests on behalf of authenticated users.
Vulnerability
In the Open Build Service (OBS) web interface before version 2.4.6, the CSRF (Cross-Site Request Forgery) protection mechanism was incorrectly disabled. The controller Webui::WebuiController lacked a call to protect_from_forgery, leaving all state-changing endpoints vulnerable to forged requests. This was addressed in commit 2188c059b67b82171d0e28ef59f77e62d22a09d8 [1].
Exploitation
An attacker can send a crafted request to an OBS web endpoint (e.g., via a malicious link or a cross-origin HTML form) while the victim is authenticated. Because CSRF tokens are not validated, the request is processed as if coming from the victim. No special network position is required; the attack can be performed remotely by tricking the user into interacting with attacker-controlled content.
Impact
Successful exploitation allows an attacker to perform actions on the OBS instance with the victim's privileges—this may include altering projects, submitting packages, or modifying configurations. Depending on the victim's role, this could lead to unauthorized data modification or project compromise. Confidentiality and integrity are primarily affected.
Mitigation
The fix was released in OBS version 2.4.6. Users should upgrade to this version or later. The commit 2188c059b67b82171d0e28ef59f77e62d22a09d8 reintroduces CSRF protection via protect_from_forgery and handles unverified requests by resetting the session or raising an exception [1]. No workaround is documented for earlier versions.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Range: <2.4.6
- openSUSE/Open Build Servicev5Range: unspecified
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- bugzilla.suse.com/show_bug.cgimitrex_refsource_CONFIRM
- github.com/openSUSE/open-build-service/commit/2188c059b67b82171d0e28ef59f77e62d22a09d8mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.