Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://0xdf.gitlab.io/2026/02/03/htb-bamboo.html Content Categories: Based on the analysis, this content was categorized under "Network Services Pentesting -> 3128 Pentesting Squid (pivoting/internal port discovery with Spose, proxychains/Burp chaining); Pentesting Web -> (add/update) PaperCut NG/MF section for CVE-2023-27350 auth bypass -> RCE via print scripting; Linux Privilege Escalation -> Writable script executed by root / script hijacking (pspy detection + replacement)". 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 post walks an end-to-end exploitation of an HTB Linux host where the only externally reachable services are SSH (22) and an unauthenticated Squid HTTP proxy (3128). The proxy is then used to enumerate and access an internal PaperCut NG web app (ports 9191/9192/9195), exploit PaperCut’s auth bypass (CVE-2023-27350) to gain an admin session, and then abuse PaperCut’s print scripting feature (after disabling sandboxing) to execute OS commands and obtain a reverse shell as the
papercut</co...🔧 Technical Details
Scanning “behind” an unauthenticated Squid proxy (service discovery pivot): When a target exposes Squid (TCP/3128) without authentication, you can treat it as a pivot point and scan internal addresses/loopback from the proxy’s network perspective. Use Spose with
--proxy http://IP:3128and--target localhost(or another internal IP) plus--allportsto enumerate open TCP ports reachable by the proxy. Then useproxychains(configured with anhttpproxy entry) to interact with internal HTTP services (e.g.,proxychains curl http://127.0.0.1:9191 -v) and/or chain Burp to Squid via an upstream proxy setting for full browser testing.PaperCut NG CVE-2023-27350: auth bypass via SetupCompleted → RCE via print scripting feature abuse: In vulnerable PaperCut NG/MF builds (e.g., NG 22.0.5 Build 63914 per NVD), requesting
/app?service=page/SetupCompl...🤖 Agent ActionsUpdated three key areas:
3128-pentesting-squid.mdwith practical pivot workflow using SPOSE viauv, proxychains/Burp upstream chaining, and added references.command-injection.md, including payload placement, sandbox bypass, and automation via the public PoC, plus cleaned references.write-to-root.md.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.