
HopHub Web Challenge | FahemSec
Normal user to front-door unlock: NGINX json_set reads method from $request_body, Flask trusts the proxy, and 1024 one-byte chunks blind the gate while Flask still sees valid JSON.
$ whoami
Mohanad Edrees
$ cat focus.txt
Web Pentest / Vulnerability Research / Secure Code Review / AI Security
$ ./status --live
exploring the unknown
$ ls ./write-ups

Normal user to front-door unlock: NGINX json_set reads method from $request_body, Flask trusts the proxy, and 1024 one-byte chunks blind the gate while Flask still sees valid JSON.

Blackbox challenge from FahemSec platform, using Session Variable Overwrite via Forgot Password (Session Puzzle) to access admin.php and get the flag.

How we built a challenge with an Nginx/Express cache-deception bug that leaks a staff token that unlocks Herald's protected attachment on an LLM assistant.

Chaining a JSON parser differential, an escaped duplicate key to smuggle past the WAF, and a fullwidth NFKC normalization gap to export prime/audit-final as demo.

How I built a challenge that intended is chaining pre-OTP session issue, blind SQLi oracle, and grpc 0.11.0 tenant_id override to read a restricted Initech document.

How I built a scrubbed-but-exposed .git leaks its real FTP password through an unreachable commit that only git fsck finds, the evidence archive must be pulled in binary mode, and the ZipCrypto inside it cracks with rockyou.

Full chain walkthrough: uint16 length overflow to smuggle osquery SQL fields, login bypass, a YARA oracle for byte-by-byte credential exfiltration, and CRLF request smuggling to POST the credential to an internal flag server.

Escalating from customer to supplier via role enumeration, security-question brute-force, and JWT re-authentication to achieve RCE.

Exploiting GraphQL introspection to leak API keys, then chaining SQL injection through customer queries to dump the flag.

Chaining LFI path traversal, source code disclosure, and double URL encoding to gain RCE through an uploaded PHP shell.

Write-ups for 3 web challenges I created at CAT CTF 26: Admin Jokes, Forest Secrets, and Paper Tail.

Exploiting HTTP response splitting to steal cookies from an isolated bot using timing side-channel attacks.

Exploiting XSS in a filtered input parameter using the /a// bypass technique to steal the admin bot's FLAG cookie through webhook exfiltration.

Chaining unrestricted file upload, path traversal, and double URL decoding to gain remote code execution.

Chaining SQL injection bypass, UNION-based enumeration, and INTO OUTFILE to gain RCE on a web application.

Directory fuzzing with ffuf to discover hidden files, admin panels, and restricted endpoints leading to the flag.

Reconnaissance methodology covering DNS enumeration, WHOIS lookups, subdomain discovery, and web footprinting to map an attack surface.

Solving 10 challenges across Misc, Binary Exploitation, Crypto, and Web at BCACTF 2025.
18 write-ups shown
Get notified about the content you care about.