GHSA-v988-828w-xvf2: Rucio webui Authentication Bypass Vulnerability

HIGH
CWE-305 CWE-288
Published
Advisory Summary

GHSA-v988-828w-xvf2 is a HIGH authentication bypass vulnerability (CWE-305: Authentication Bypass by Primary Weakness) affecting Rucio webui libraries in the PyPI ecosystem. The issue involves authentication bypass using an alternate path or channel and authentication bypass by primary weakness in rucio-webui. Remediation is available by upgrading affected packages to version 1.26.7.

GHSA-v988-828w-xvf2 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-v988-828w-xvf2
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-305: Authentication Bypass by Primary Weakness
Affected Product Rucio webui
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-v988-828w-xvf2

To remediate this vulnerability, upgrade all affected Rucio webui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

rucio-webui fixed: 1.26.7
pip install rucio-webui>=1.26.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show rucio-webui

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-v988-828w-xvf2, inspect your installed packages using pip:

pip show rucio-webui

Analyze the terminal output to locate any version of Rucio webui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.26.7), your application is affected.

Note: The pip show rucio-webui command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-305: Authentication Bypass by Primary Weakness, where the authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error. In Rucio webui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact `rucio-webui` installations of the `1.26` release line potentially leak the contents of cookies to other sessions within a wsgi container. Impact is that Rucio authentication tokens are leaked to other users accessing the `webui` within a close timeframe, thus allowing users to access the `webui` with the leaked authentication token. Privileges are therefore also escalated. Rucio server / daemons are not affected by this issue, it is isolated to the webui. ### Patches This issue is fixed in the `1.26.7` release of the `rucio-webui`. ### Workarounds Installation of the `1.25.7` `webui` release. The `1.25` and previous webui release lines are not affected by this issue. ### References https://github.com/rucio/rucio/issues/4928

GHSA-v988-828w-xvf2 Affected Rucio webui Versions

1 component(s)
Fixed Versions:
1.26.7
Product / Package Ecosystem Affected Versions Fixed Version
rucio-webui
PyPI
≥ 1.26.0
< 1.26.7
1.26.7

References

Frequently Asked Questions

What is GHSA-v988-828w-xvf2?
GHSA-v988-828w-xvf2 is a security vulnerability in Rucio webui involving Authentication Bypass Using an Alternate Path or Channel and Authentication Bypass by Primary Weakness in rucio-webui under CWE-305: Authentication Bypass by Primary Weakness.
Which Rucio webui versions are affected?
Affected versions include releases prior to 1.26.7 across affected packages: rucio-webui.
What version fixes GHSA-v988-828w-xvf2?
Upgrading to 1.26.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rucio-webui affected?
Yes, rucio-webui is affected in releases prior to 1.26.7. Upgrade your dependency to 1.26.7 or later.
What CWE is associated with GHSA-v988-828w-xvf2?
GHSA-v988-828w-xvf2 is classified under CWE-305: Authentication Bypass by Primary Weakness (The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error.).
How can I check PyPI dependencies for GHSA-v988-828w-xvf2?
Run the dependency tree command: 'pip show rucio-webui'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-v988-828w-xvf2",
  "modified" : "2021-10-21T21:36:22Z",
  "published" : "2021-10-22T16:21:07Z",
  "aliases" : [ ],
  "summary" : "Authentication Bypass Using an Alternate Path or Channel and Authentication Bypass by Primary Weakness in rucio-webui",
  "details" : "### Impact\n`rucio-webui` installations of the `1.26` release line potentially leak the contents of cookies to other sessions within a wsgi container. Impact is that Rucio authentication tokens are leaked to other users accessing the `webui` within a close timeframe, thus allowing users to access the `webui` with the leaked authentication token. Privileges are therefore also escalated.\n\nRucio server / daemons are not affected by this issue, it is isolated to the webui.\n\n### Patches\nThis issue is fixed in the `1.26.7` release of the `rucio-webui`.\n\n### Workarounds\nInstallation of the `1.25.7` `webui` release. The `1.25` and previous webui release lines are not affected by this issue.\n\n### References\nhttps://github.com/rucio/rucio/issues/4928",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "rucio-webui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.26.0"
      }, {
        "fixed" : "1.26.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/rucio/rucio/security/advisories/GHSA-v988-828w-xvf2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rucio/rucio/issues/4810"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rucio/rucio/issues/4928"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rucio/rucio/commit/8f832404ae88d6300e17d7e706b40fe58e0df90c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rucio/rucio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rucio/rucio/releases/tag/1.26.7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-288", "CWE-305" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-10-21T21:36:22Z",
    "nvd_published_at" : null
  }
}