{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2025-47812 in the wild since at least 14 Jul 2025.","fix":"No fix has been published for CVE-2025-47812 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 4 Aug 2025.","what":"CVE-2025-47812 is a critical code injection vulnerability in wftpserver Wing FTP Server, published on 10 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-47812 and fix it if it is affected.\n\nWhat it is: CVE-2025-47812 is a critical code injection vulnerability in wftpserver Wing FTP Server, published on 10 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2025-47812 in the wild since at least 14 Jul 2025.\n\nAffected product: wftpserver Wing FTP Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-47812/ (Markdown: https://insights.sbomify.com/CVE-2025-47812/index.md)","id":"CVE-2025-47812","markdown":"https://insights.sbomify.com/CVE-2025-47812/index.md","name":"CVE-2025-47812","record":{"aliases":["GHSA-j4xf-75rr-vvrv"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"FTP server software","requires_auth":"none","summary":"Remote attackers can inject Lua code via null bytes to execute arbitrary system commands with root privileges, compromising the entire server.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"wing_ftp_server","vendor":"wftpserver"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-158","name":"Improper Neutralization of Null Byte or NUL Character"}],"description":"In Wing FTP Server before 7.4.4. the user and admin web interfaces mishandle '\\0' bytes, ultimately allowing injection of arbitrary Lua code into user session files. This can be used to execute arbitrary system commands with the privileges of the FTP service (root or SYSTEM by default). This is thus a remote code execution vulnerability that guarantees a total server compromise. This is also exploitable via anonymous FTP accounts.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2014-06-19","github_poc":18,"max_poc_stars":54,"metasploit":2,"nuclei":1,"refs":[{"date":"2025-07-01T12:02:38Z","kind":"github_poc","ref":"https://github.com/4m3rr0r/CVE-2025-47812-poc","stars":54,"title":"Wing FTP Server Remote Code Execution (RCE) Exploit (CVE-2025-47812)"},{"date":"2025-07-01T18:20:04Z","kind":"github_poc","ref":"https://github.com/0xcan1337/CVE-2025-47812-poC","stars":13,"title":"Simple exploit for Wing FTP Server RCE (CVE-2025-47812) to run commands and get a reverse shell. For educational use only."},{"date":"2025-07-02T21:51:39Z","kind":"github_poc","ref":"https://github.com/0xgh057r3c0n/CVE-2025-47812","stars":3,"title":"Wing FTP Server RCE via Lua Injection"},{"date":"2025-07-27T17:47:40Z","kind":"github_poc","ref":"https://github.com/r0otk3r/CVE-2025-47812","stars":2,"title":null},{"date":"2026-02-17T21:46:50Z","kind":"github_poc","ref":"https://github.com/shadowgit30/CVE-2025-47812","stars":2,"title":"CVE-2025-47812 POC"},{"date":"2026-02-19T22:13:17Z","kind":"github_poc","ref":"https://github.com/estebanzarate/CVE-2025-47812-Wing-FTP-Server-7.4.3-Unauthenticated-RCE-PoC","stars":2,"title":"Unauthenticated remote code execution vulnerability in Wing FTP Server \u003c= 7.4.3."},{"date":"2025-07-17T07:02:49Z","kind":"github_poc","ref":"https://github.com/blindma1den/CVE-2025-47812","stars":1,"title":null},{"date":"2026-02-24T05:07:09Z","kind":"github_poc","ref":"https://github.com/0xjuarez/CVE-2025-47812","stars":1,"title":null}],"tier":"exploited"},"has_fix":null,"headline":"Wing FTP Server Improper Neutralization of Null Byte or NUL Character","id":"CVE-2025-47812","indexable":true,"kev":{"dateAdded":"2025-07-14","dueDate":"2025-08-04","knownRansomwareCampaignUse":"Unknown","product":"Wing FTP Server","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"Wing FTP Server","vulnerabilityName":"Wing FTP Server Improper Neutralization of Null Byte or NUL Character Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":4,"next":{"headline":"Wing FTP Server Information Disclosure","id":"CVE-2025-47813"},"packages":[],"prev":{"headline":"Privilege escalation in Wing FTP Server","id":"CVE-2025-47811"},"products":["Wing FTP Server"],"published":"2025-07-10","related":[{"cvss_score":4.3,"headline":"Wing FTP Server Information Disclosure","id":"CVE-2025-47813","kev_date_added":"2026-03-16","published":"2025-07-10"},{"cvss_score":8.6,"headline":"Wing FTP Server \u003c 8.1.3 Authenticated Remote Code Execution via Session Serialization","id":"CVE-2026-44403","kev_date_added":null,"published":"2026-05-12"},{"cvss_score":8.6,"headline":"Wing FTP Server 6.3.8 - Remote Code Execution","id":"CVE-2020-37032","kev_date_added":null,"published":"2026-01-30"},{"cvss_score":8.5,"headline":"Wing FTP Server 6.0.7 - Unquoted Service Path","id":"CVE-2019-25267","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":7.8,"headline":"Information disclosure in n/a","id":"CVE-2020-9470","kev_date_added":null,"published":"2020-03-07"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2020-8634","kev_date_added":null,"published":"2020-03-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["wftpserver"]},"summary":"Remote attackers can inject Lua code via null bytes to execute arbitrary system commands with root privileges, compromising the entire server.","url":"https://insights.sbomify.com/CVE-2025-47812/"}