Vulnerability Details : CVE-2023-35852
In Suricata before 6.0.13 (when there is an adversary who controls an external source of rules), a dataset filename, that comes from a rule, may trigger absolute or relative directory traversal, and lead to write access to a local filesystem. This is addressed in 6.0.13 by requiring allow-absolute-filenames and allow-write (in the datasets rules configuration section) if an installation requires traversal/writing in this situation.
Vulnerability category: Directory traversal
Products affected by CVE-2023-35852
- cpe:2.3:a:oisf:suricata:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-35852
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-35852
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2023-35852
-
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.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-35852
-
https://github.com/OISF/suricata/compare/suricata-6.0.12...suricata-6.0.13
Comparing suricata-6.0.12...suricata-6.0.13 · OISF/suricata · GitHubVendor Advisory
-
https://github.com/OISF/suricata/commit/aee1523b4591430ebed1ded0bb95508e6717a335
datasets: don't allow absolute or paths with directory traversal · OISF/suricata@aee1523 · GitHubPatch
-
https://www.stamus-networks.com/stamus-labs
Stamus Labs | Stamus NetworksNot Applicable
-
https://github.com/OISF/suricata/commit/735f5aa9ca3b28cfacc7a443f93a44387fbacf17
datasets: flag to disable "write" actions · OISF/suricata@735f5aa · GitHubPatch
Jump to