Vulnerability Details : CVE-2023-37896
Nuclei is a vulnerability scanner. Prior to version 2.9.9, a security issue in the Nuclei project affected users utilizing Nuclei as Go code (SDK) running custom templates. This issue did not affect CLI users. The problem was related to sanitization issues with payload loading in sandbox mode. There was a potential risk with payloads loading in sandbox mode. The issue occurred due to relative paths not being converted to absolute paths before doing the check for `sandbox` flag allowing arbitrary files to be read on the filesystem in certain cases when using Nuclei from `Go` SDK implementation.
This issue has been fixed in version 2.9.9. The maintainers have also enabled sandbox by default for filesystem loading. This can be optionally disabled if required. The `-sandbox` option has been deprecated and is now divided into two new options: `-lfa` (allow local file access) which is enabled by default and `-lna` (restrict local network access) which can be enabled by users optionally. The `-lfa` allows file (payload) access anywhere on the system (disabling sandbox effectively), and `-lna` blocks connections to the local/private network.
Vulnerability category: Directory traversal
Products affected by CVE-2023-37896
- cpe:2.3:a:projectdiscovery:nuclei:*:*:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-37896
0.88%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 74 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-37896
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:H/I:N/A:N |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2023-37896
-
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: security-advisories@github.com (Primary)
References for CVE-2023-37896
-
https://github.com/projectdiscovery/nuclei/releases/tag/v2.9.9
Release v2.9.9 (Security Update) · projectdiscovery/nuclei · GitHubRelease Notes
-
https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-2xx4-jj5v-6mff
Nuclei < 2.9.9 - Sandbox restriction bypass · Advisory · projectdiscovery/nuclei · GitHubVendor Advisory
-
https://github.com/projectdiscovery/nuclei/pull/3927
fixing payload load by Mzack9999 · Pull Request #3927 · projectdiscovery/nuclei · GitHubIssue Tracking
Jump to