HTB Nocturnal IDOR → Command Injection → Root via ISPConfig ...#1360
Merged
carlospolop merged 3 commits intomasterfrom Aug 28, 2025
Conversation
…ISPConfig... - Remove searchindex.js (auto-generated file)
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://0xdf.gitlab.io/2025/08/16/htb-nocturnal.html Content Categories: Based on the analysis, this content was categorized under "Generic Hacking -> Command Injection (filter bypass with newline/tab); cross-reference in Web/IDOR techniques if available". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
Collaborator
Author
|
merge |
083f622 to
52cdbdb
Compare
github-actions Bot
pushed a commit
that referenced
this pull request
Aug 28, 2025
…DOR___Command_Injection___Root_via_20250827_191622 HTB Nocturnal IDOR → Command Injection → Root via ISPConfig ...
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
HTB Nocturnal — Technical Exploitation Summary
Target and Attack Chain
Target: HTB Nocturnal (Linux/Ubuntu 20.04.6 LTS kernel 5.4.0-212, OpenSSH 8.2p1 Ubuntu 4ubuntu0.12, nginx 1.18.0, PHP).
Attack chain:
Recon
🔧 Technical Details
IDOR-based enumeration and file theft: When a download endpoint accepts both username and filename, diff error responses to build an oracle that confirms user existence and lists files. Use an authenticated ffuf run against
/view.php?username=FUZZ&file=test.doc, filtering "User not found" to enumerate valid users, then request their files directly.Bypassing command-injection blacklists with newlines/tabs: If user input is concatenated into a she...
🤖 Agent Actions
I analyzed the blog and updated HackTricks with the core, reusable techniques it contains:
What I added/updated
Command injection blacklist bypass using newline/tab in PHP proc_open/system contexts
IDOR error-response oracles for user/file enumeration
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.
📚 Repository Maintenance
All .md files have been checked for proper formatting (headers, includes, etc.).
🗑️ File Cleanup
The searchindex.js file is automatically generated and should not be included in manual commits.