Skip to main content
Vulnerability Database/CVE-2021-48017

CVE-2021-48017: OrbiTeam BSCW Path Traversal Vulnerability

CVE-2021-48017 is an unauthenticated path traversal vulnerability in OrbiTeam BSCW Server that allows attackers to read sensitive local files. This article covers technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2021-48017 Overview

CVE-2021-48017 is an unauthenticated path traversal vulnerability in OrbiTeam BSCW Server. The flaw affects versions 5.x before 5.2.5 and 7.x before 7.4.4. Attackers can abuse the style_name parameter of the theme operation in /pub/bscw.cgi to read arbitrary files on the host. The vulnerability is classified as [CWE-22] Path Traversal. The Shadowserver Foundation observed exploitation activity targeting BSCW instances on 2023-10-22.

Critical Impact

Remote, unauthenticated attackers can read sensitive local files such as /etc/passwd by injecting ../ sequences into the style_name parameter of the BSCW theme operation.

Affected Products

  • OrbiTeam BSCW Server 5.x prior to 5.2.5
  • OrbiTeam BSCW Server 7.x prior to 7.4.4
  • Deployments exposing /pub/bscw.cgi to untrusted networks

Discovery Timeline

  • 2023-10-22 - Shadowserver Foundation first observes exploitation evidence in the wild
  • 2026-10-22 - CVE-2021-48017 published to NVD
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2021-48017

Vulnerability Analysis

The BSCW (Basic Support for Cooperative Work) Server exposes a CGI endpoint at /pub/bscw.cgi that handles collaborative workspace operations. The theme operation accepts a user-controlled style_name parameter used to locate theme assets on disk. The server fails to canonicalize or validate this parameter before concatenating it into a file path. An unauthenticated attacker can supply directory traversal sequences to escape the intended theme directory. The result is arbitrary local file disclosure, including configuration files, credentials, and operating system account data.

Root Cause

The root cause is improper limitation of a pathname to a restricted directory [CWE-22]. User input in style_name is used in filesystem operations without rejecting ../ sequences or enforcing a whitelist of valid theme names. No authentication is required to reach the vulnerable code path.

Attack Vector

Exploitation is network-based and requires no authentication or user interaction. The attacker sends an HTTP GET request to /pub/bscw.cgi/<id>?op=theme and sets style_name to a traversal payload such as ../../../../etc/passwd. The CGI handler resolves the path outside the theme directory and returns the targeted file contents in the HTTP response. Public detection logic for this request pattern is published in the Nuclei template referenced below.

See the GitHub Nuclei Template, SEC Consult Advisory, and the VulnCheck Advisory for BSCW for technical details and request patterns.

Detection Methods for CVE-2021-48017

Indicators of Compromise

  • HTTP GET requests to /pub/bscw.cgi/ containing op=theme and style_name= with ../ or URL-encoded %2e%2e%2f sequences
  • Successful HTTP 200 responses to theme requests returning content resembling /etc/passwd, shadow files, or BSCW configuration files
  • Repeated probes against the theme operation from a single external source IP

Detection Strategies

  • Deploy the public Nuclei template against BSCW assets to identify unpatched instances
  • Write web server and WAF rules that flag style_name values containing path traversal characters or encoded variants
  • Correlate CGI access logs for bscw.cgi requests paired with non-theme file content types in responses

Monitoring Recommendations

  • Forward BSCW access and error logs to a centralized logging platform for retention and query
  • Alert on anomalous read access to /etc/passwd, /etc/shadow, and BSCW configuration directories from the CGI process user
  • Baseline normal theme operation parameters so unexpected style_name values trigger investigation

How to Mitigate CVE-2021-48017

Immediate Actions Required

  • Upgrade BSCW Server 5.x to version 5.2.5 or later, and 7.x to version 7.4.4 or later
  • Restrict access to /pub/bscw.cgi using network ACLs or a reverse proxy until patches are applied
  • Review access logs for traversal attempts against the theme operation dating back to at least 2023-10-22
  • Rotate credentials and secrets that may have been exposed through local file disclosure

Patch Information

OrbiTeam addressed the issue in BSCW Server 5.2.5 and 7.4.4. Administrators should consult the SEC Consult Advisory and the VulnCheck Advisory for BSCW for fixed version details and vendor coordination information.

Workarounds

  • Block inbound requests to bscw.cgi where the style_name parameter contains ../, ..\, or URL-encoded traversal sequences at the WAF or reverse proxy layer
  • Enforce authentication in front of the BSCW endpoint using the web server when possible
  • Run the BSCW CGI process under a least-privileged account to limit the scope of readable files
bash
# Example NGINX reverse proxy rule to block traversal attempts in style_name
location /pub/bscw.cgi {
    if ($arg_style_name ~* "(\.\./|\.\.\\|%2e%2e%2f|%2e%2e/)") {
        return 403;
    }
    proxy_pass http://bscw_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.