CVE-2023-35852: Path Traversal
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Suricatato a version that resolves this vulnerability.Fixed in 6.0.13 - Configuration
In Suricata before 6.0.13, to address possible directory traversal/write from adversary-controlled external rule sources, set allow-absolute-filenames in the datasets rules configuration section as required if the installation needs traversal/writing.
Suricata datasets rules configuration allow-absolute-filenames = required (enable) if an installation requires traversal/writing in this situation - Configuration
In Suricata before 6.0.13, to address possible directory traversal/write from adversary-controlled external rule sources, set allow-write in the datasets rules configuration section as required if the installation needs traversal/writing.
Suricata datasets rules configuration allow-write = required (enable) if an installation requires traversal/writing in this situation
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue in Suricata?
The vulnerability ID for this issue in Suricata is CVE-2023-35852.
What is the severity of CVE-2023-35852?
The severity of CVE-2023-35852 is high with a severity value of 7.5.
What software version is affected by CVE-2023-35852?
Suricata versions up to exclusive 6.0.13 are affected by CVE-2023-35852.
How can the vulnerability in Suricata be exploited?
An adversary who controls an external source of rules can exploit the vulnerability in Suricata by triggering absolute or relative directory traversal, leading to write access to a local filesystem.
How is the vulnerability in Suricata addressed?
The vulnerability in Suricata is addressed in version 6.0.13 by requiring allow-absolute-f...