Skip to content

SabreDAV Directory Traversal vulnerability

Moderate severity GitHub Reviewed Published May 14, 2022 to the GitHub Advisory Database • Updated Feb 7, 2024

Package

composer sabre/dav (Composer)

Affected versions

>= 1.7.0, < 1.7.7
>= 1.8.0, < 1.8.5
>= 1.6.0, < 1.6.9

Patched versions

1.7.7
1.8.5
1.6.9

Description

The HTML\Browser plugin in SabreDAV before 1.6.9, 1.7.x before 1.7.7, and 1.8.x before 1.8.5, as used in ownCloud, when running on Windows, does not properly check path separators in the base path, which allows remote attackers to read arbitrary files via a \ (backslash) character.

References

Published by the National Vulnerability Database Mar 14, 2014
Published to the GitHub Advisory Database May 14, 2022
Reviewed Jul 7, 2023
Last updated Feb 7, 2024

Severity

Moderate

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(46th percentile)

Weaknesses

Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. Learn more on MITRE.

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Learn more on MITRE.

CVE ID

CVE-2013-1939

GHSA ID

GHSA-qg5v-jw6f-rpfj

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.