HTB WingData Wing FTP Null-Byte Lua RCE, Hash Cracking, and ...#2439
Open
carlospolop wants to merge 1 commit into
Open
HTB WingData Wing FTP Null-Byte Lua RCE, Hash Cracking, and ...#2439carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://0xdf.gitlab.io/2026/06/27/htb-wingdata.html Content Categories: Based on the analysis, this content was categorized under "Network Services Pentesting -> 80,443 - Pentesting Web Methodology -> Wing FTP Server; also cross-reference Generic Hacking -> Archive Extraction Path Traversal and Linux Privilege Escalation -> Arbitrary File Write to Root". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
The blog is a HackTheBox WingData walkthrough chaining two real CVEs and one credential-reuse pivot on a Linux host. The attack path is: discover a hidden Wing FTP virtual host, exploit CVE-2025-47812 in Wing FTP Server
v7.4.3to inject Lua into a session file and obtain RCE aswingftp, recover salted Wing FTP password hashes from XML files, crack thewackyuser hash with Hashcat, then abuse a sudo-allowed Python backup restore script vulnerable t...🔧 Technical Details
Wing FTP null-byte Lua session injection: In Wing FTP Server before
7.4.4, username validation in the web interface treats\0as the end of the username, but the full submitted username is written into a Lua session file. If an attacker can authenticate with any valid account, includinganonymouswith a blank password when anonymous access is enabled, they can submit a username likeanonymous\0]] ... Lua code ... --. The valid prefix passes authentication,]]closes the Lua long string in_SESSION['username']=[[...]], attacker Lua such asio.popen("id")executes when a page is loaded with the session cookie, and--comments out the trailing syntax. Triggering a page such as/dir.htmlwith the malicious cookie executes commands as the Wing FTP service account. This isCVE-2025-47812and may be root/SYSTEM RCE if the service runs with default high pr...🤖 Agent Actions
Continued the run and finished another sanity pass.
Confirmed:
src/network-services-pentesting/pentesting-ftp/README.mdis modifiedauthorized_keysprivilege-escalation contentThe repository state remains clean and ready for final completion later.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.