Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-47899

CVE-2021-47899: YetiShare File Hosting Script SSRF Flaw

CVE-2021-47899 is a server-side request forgery vulnerability in YetiShare File Hosting Script 5.1.0 that allows attackers to read local files. This article covers the technical details, affected versions, and mitigation.

Published: January 30, 2026

CVE-2021-47899 Overview

CVE-2021-47899 is a Server-Side Request Forgery (SSRF) vulnerability affecting YetiShare File Hosting Script version 5.1.0. This vulnerability allows remote attackers to read local system files through the remote file upload feature by exploiting the url parameter in the url_upload_handler endpoint. Attackers can leverage the file:/// protocol to access sensitive files such as /etc/passwd, potentially exposing critical system information and credentials.

Critical Impact

Unauthenticated attackers can exploit this SSRF vulnerability to read sensitive local files from the server, potentially leading to information disclosure, credential theft, and further system compromise.

Affected Products

  • YetiShare File Hosting Script 5.1.0

Discovery Timeline

  • 2026-01-23 - CVE CVE-2021-47899 published to NVD
  • 2026-01-26 - Last updated in NVD database

Technical Details for CVE-2021-47899

Vulnerability Analysis

This vulnerability exists in YetiShare File Hosting Script's remote file upload functionality. The application fails to properly validate and sanitize URLs submitted through the url_upload_handler endpoint, allowing attackers to submit arbitrary URLs including those using the file:/// protocol scheme. When the server processes these malicious requests, it reads local file contents and returns them to the attacker.

The SSRF vulnerability enables attackers to bypass network-based access controls and interact with internal services or read local files that should not be accessible from external networks. This type of vulnerability is particularly dangerous in file hosting applications as they inherently need to fetch remote content.

Root Cause

The root cause of this vulnerability is improper input validation in the URL upload handler. The application does not implement adequate URL scheme validation or whitelisting, allowing the file:/// protocol to be processed alongside legitimate HTTP/HTTPS URLs. The url parameter accepts arbitrary input without checking whether the requested resource is from an allowed domain or protocol, leading to unauthorized file access.

Attack Vector

The attack is conducted over the network without requiring authentication. An attacker crafts a malicious HTTP request to the url_upload_handler endpoint, supplying a file:/// URL pointing to a sensitive local file (such as /etc/passwd, /etc/shadow, or application configuration files). The server processes this request and returns the contents of the specified file to the attacker.

The exploitation flow involves:

  1. Identifying the vulnerable url_upload_handler endpoint
  2. Crafting a request with the url parameter set to a file:/// path
  3. Receiving the contents of the targeted local file in the server response
  4. Using disclosed information for further attacks

A public exploit is available on Exploit-DB #49534 demonstrating this attack technique.

Detection Methods for CVE-2021-47899

Indicators of Compromise

  • HTTP requests to url_upload_handler endpoints containing file:/// protocol schemes
  • Requests with URL parameters attempting to access system files like /etc/passwd, /etc/shadow, or configuration files
  • Unusual server-side file access patterns in application logs
  • Network traffic containing local file path references in URL parameters

Detection Strategies

  • Monitor web application logs for requests containing file:///, dict://, gopher://, or other non-HTTP protocol schemes in URL parameters
  • Implement Web Application Firewall (WAF) rules to detect and block SSRF patterns targeting local file paths
  • Deploy endpoint detection solutions to identify suspicious file read operations initiated by web server processes
  • Review access logs for the url_upload_handler endpoint for anomalous request patterns

Monitoring Recommendations

  • Enable verbose logging for the YetiShare application to capture all URL upload requests
  • Configure alerting for any requests containing protocol schemes other than HTTP/HTTPS
  • Monitor system file access events for reads initiated by the web server process
  • Implement network-level monitoring to detect internal service access from the web application

How to Mitigate CVE-2021-47899

Immediate Actions Required

  • Upgrade YetiShare File Hosting Script to the latest available version that addresses this vulnerability
  • Implement URL scheme whitelisting to only allow HTTP and HTTPS protocols in the upload handler
  • Deploy WAF rules to block requests containing file:/// and other dangerous protocol schemes
  • Restrict network access to the vulnerable endpoint if remote file upload is not required

Patch Information

Organizations running YetiShare File Hosting Script 5.1.0 should check the YetiShare Official Site and MF Scripts Resource Site for updated versions that address this vulnerability. Apply all available security patches and updates as soon as possible. Additional technical details can be found in the VulnCheck YetiShare Advisory.

Workarounds

  • Disable the remote file upload feature entirely if not required for business operations
  • Implement application-level URL validation to whitelist only HTTP/HTTPS protocols and external domains
  • Deploy a reverse proxy or WAF in front of the application configured to filter SSRF attack patterns
  • Restrict the web server's ability to access local files through OS-level permissions or containerization
bash
# Example WAF rule to block file:// protocol in requests
# For ModSecurity:
SecRule ARGS "@contains file://" "id:1001,phase:2,deny,status:403,msg:'SSRF attempt blocked - file protocol detected'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechYetishare

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-434
  • Technical References
  • MF Scripts Resource Site

  • Exploit-DB #49534

  • VulnCheck YetiShare Advisory

  • YetiShare Official Site
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English