CVE-2023-47116: Server-Side Request Forgery (SSRF)
Label Studio is a popular open source data labeling tool. The vulnerability affects all versions of Label Studio prior to 1.11.0 and was tested on version 1.8.2. Label Studio’s SSRF protections that can be enabled by setting the SSRF_PROTECTION_ENABLED
environment variable can be bypassed to access internal web servers. This is because the current SSRF validation is done by executing a single DNS lookup to verify that the IP address is not in an excluded subnet range. This protection can be bypassed by either using HTTP redirection or performing a DNS rebinding attack.
References
- en.wikipedia.org/wiki/DNS_rebinding
- github.com/HumanSignal/label-studio/blob/1.8.2/label_studio/core/utils/io.py
- github.com/HumanSignal/label-studio/blob/1.8.2/label_studio/data_import/uploader.py
- github.com/HumanSignal/label-studio/commit/55dd6af4716b92f2bb213fe461d1ffbc380c6a64
- github.com/HumanSignal/label-studio/releases/tag/1.11.0
- github.com/HumanSignal/label-studio/security/advisories/GHSA-p59w-9gqw-wj8r
- github.com/advisories/GHSA-p59w-9gqw-wj8r
- nvd.nist.gov/vuln/detail/CVE-2023-47116
Detect and mitigate CVE-2023-47116 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →