Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://0xdf.gitlab.io/2026/02/21/htb-giveback.html Content Categories: Based on the analysis, this content was categorized under "Pentesting Web -> Deserialization -> PHP - Deserialization + Autoload Classes (add a subsection for GiveWP CVE-2024-5932 / unauthenticated POP-to-RCE pattern) and optionally cross-link from Pentesting Web -> Wordpress". 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
Title / context
HackTheBox “Giveback” walkthrough. The demonstrated portion covers external recon → WordPress/GiveWP enumeration → exploiting CVE-2024-5932 for unauthenticated RCE → getting a shell inside a Kubernetes WordPress pod → extracting mounted secrets and service topology → MariaDB access → pivot-style internal HTTP enumeration using PHP because common tooling is missing. The blog intro mentions later pivoting to another pod, Kubernetes API interaction, SSH to h...
🔧 Technical Details
Unauthenticated PHP object injection → RCE in WordPress plugins (CVE-2024-5932 pattern): when a plugin deserializes attacker-controlled input (here, a form field like
give_titleduring donation processing such asaction=give_process_donation), an attacker can inject a crafted serialized object. If the application’s dependency graph provides a usable POP chain, the chain can pivot into a dangerous sink (example shown: setting a validator/callback field toshell_exec) and execute arbitrary commands. Because output may be blind, prefer callback payloads (e.g., bash reverse shell) and catch them with a listener likenc -lnvp PORT.HTTP enumeration from stripped containers: if
curl/wget/pingare missing in a container, use whatever runtime exists (PHP, Python, etc.) as a network client. Example:php -r "echo file_get_contents('http://IP:PORT/path');"to query intern...🤖 Agent Actions
Updated PHP - Deserialization + Autoload Classes with a new GiveWP (<3.14.2) CVE-2024-5932 subsection detailing the unauthenticated PHP object injection chain in
give_title, example POST workflow togive_process_donation, the POP components (StripeObject/Faker ValidGenerator →shell_exec), and blind RCE execution tips. Added exploitation notes and references to the blog and PoC repository.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.