/

CVE-2021-48017

Severity:

HIGH RISK

(7.5)

Path Traversal (CWE-22) in OrbiTeam BSCW Server 5.x

CVE-2021-48017

Deferred

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Unauthenticated Local File Disclosure

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

An unauthenticated path traversal vulnerability in OrbiTeam BSCW Server allows attackers to use crafted requests to access files outside the intended theme directory. The issue becomes risky when the theme operation accepts insufficiently validated path input containing traversal sequences.

An unauthenticated path traversal vulnerability in OrbiTeam BSCW Server allows attackers to use crafted requests to access files outside the intended theme directory. The issue becomes risky when the theme operation accepts insufficiently validated path input containing traversal sequences.

Affected context

The vulnerability occurs in BSCW Server deployments using the theme operation and its style_name parameter. Affected versions may resolve attacker-controlled path components without adequately restricting access to the intended theme directory, allowing requests to target local files readable by the server process.

The vulnerability occurs in BSCW Server deployments using the theme operation and its style_name parameter. Affected versions may resolve attacker-controlled path components without adequately restricting access to the intended theme directory, allowing requests to target local files readable by the server process.

Exploit preconditions

  • Attack surface: The HTTP GET interface for the BSCW theme operation
  • Required access: No authentication is required when the affected endpoint is reachable
  • Trigger point: Processing of the style_name parameter in a theme request
  • Why exploitation is possible: Path input is insufficiently constrained, allowing traversal sequences to escape the expected directory and request other local files
  • Attack surface: The HTTP GET interface for the BSCW theme operation
  • Required access: No authentication is required when the affected endpoint is reachable
  • Trigger point: Processing of the style_name parameter in a theme request
  • Why exploitation is possible: Path input is insufficiently constrained, allowing traversal sequences to escape the expected directory and request other local files

Why this happens

The underlying bug is improper neutralization of special path elements in externally supplied input. When the application uses the style_name value to construct or resolve a filesystem path without canonicalization and boundary checks, traversal components can redirect file access outside the intended directory. This behavior maps to CWE-22, Improper Limitation of a Pathname to a Restricted Directory.

The underlying bug is improper neutralization of special path elements in externally supplied input. When the application uses the style_name value to construct or resolve a filesystem path without canonicalization and boundary checks, traversal components can redirect file access outside the intended directory. This behavior maps to CWE-22, Improper Limitation of a Pathname to a Restricted Directory.

Potential impact

  • An attacker may read sensitive local files accessible to the application
  • Exposed files could contain credentials, configuration data, or private information
  • Retrieved information could support further attacks against the server or connected systems
  • The vulnerability could contribute to broader compromise if readable files contain privileged secrets
  • An attacker may read sensitive local files accessible to the application
  • Exposed files could contain credentials, configuration data, or private information
  • Retrieved information could support further attacks against the server or connected systems
  • The vulnerability could contribute to broader compromise if readable files contain privileged secrets

General mitigation guidance

Mitigation generally focuses on enforcing a strict filesystem boundary for

theme resources and reducing trust in user-controlled path values.

Common defensive patterns include:

  • Resolving requested paths canonically and verifying that they remain beneath the intended resource directory
  • Allowing only known theme or style identifiers instead of accepting arbitrary path fragments
  • Rejecting traversal markers, encoded traversal variants, absolute paths, and unexpected separators
  • Serving theme assets through controlled resource mappings rather than direct filesystem resolution
  • Running the service with least-privilege filesystem permissions and limiting access to sensitive files
  • Applying network access controls and monitoring to reduce exposure of unauthenticated administrative or resource endpoints

Mitigation generally focuses on enforcing a strict filesystem boundary for

theme resources and reducing trust in user-controlled path values.

Common defensive patterns include:

  • Resolving requested paths canonically and verifying that they remain beneath the intended resource directory
  • Allowing only known theme or style identifiers instead of accepting arbitrary path fragments
  • Rejecting traversal markers, encoded traversal variants, absolute paths, and unexpected separators
  • Serving theme assets through controlled resource mappings rather than direct filesystem resolution
  • Running the service with least-privilege filesystem permissions and limiting access to sensitive files
  • Applying network access controls and monitoring to reduce exposure of unauthenticated administrative or resource endpoints

How teams detect issues like this

Detection approaches may include:

  • Static analysis for filesystem APIs that combine request parameters with paths without canonicalization or containment checks
  • Code review of endpoint parameters used in file, template, theme, or asset lookups
  • Dynamic testing with traversal markers and encoded path variants in isolated environments
  • Web application firewall or gateway policies that flag suspicious traversal sequences in query parameters
  • Access-log monitoring for repeated theme requests containing dot-segment patterns or attempts to retrieve system files
  • Automated security review tools that identify uncontrolled path construction and missing authorization checks

Detection approaches may include:

  • Static analysis for filesystem APIs that combine request parameters with paths without canonicalization or containment checks
  • Code review of endpoint parameters used in file, template, theme, or asset lookups
  • Dynamic testing with traversal markers and encoded path variants in isolated environments
  • Web application firewall or gateway policies that flag suspicious traversal sequences in query parameters
  • Access-log monitoring for repeated theme requests containing dot-segment patterns or attempts to retrieve system files
  • Automated security review tools that identify uncontrolled path construction and missing authorization checks

Sources

SourceLink
github.comgithub.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/orbiteam-bscw-server-lfi.yaml
packetstorm.newspacketstorm.news/files/id/165156/
web.archive.orgweb.archive.org/web/20260421125237/https://sec-consult.com/vulnerability-lab/advisory/multiple-vulnerabilities-in-bscw-server/
vulncheck.comvulncheck.com/advisories/orbiteam-bscw-server-5.2.5-7.4.4-path-traversal-via-bscw-cgi

Frequently asked

questions

Yes. It can be reached remotely when the affected BSCW theme endpoint is exposed

over HTTP, and the described attack does not require authentication.

The attacker generally needs network access to the vulnerable endpoint but does

not need a valid BSCW account if the endpoint remains unauthenticated.

Constrain theme requests to approved identifiers, canonicalize resolved paths,

and verify that every result remains inside the intended resource directory.

Limiting the server process's filesystem permissions provides additional

protection.

Treat all path-related request parameters as untrusted, avoid direct

user-controlled filesystem paths, apply containment checks, and test endpoints

with traversal and encoding variants during code review and security testing.

Yes. It can be reached remotely when the affected BSCW theme endpoint is exposed

over HTTP, and the described attack does not require authentication.

The attacker generally needs network access to the vulnerable endpoint but does

not need a valid BSCW account if the endpoint remains unauthenticated.

Constrain theme requests to approved identifiers, canonicalize resolved paths,

and verify that every result remains inside the intended resource directory.

Limiting the server process's filesystem permissions provides additional

protection.

Treat all path-related request parameters as untrusted, avoid direct

user-controlled filesystem paths, apply containment checks, and test endpoints

with traversal and encoding variants during code review and security testing.

Find out what's already
exploitable in your codebase.