webPromedium
ContentForge
hackadvisor
Task: ContentForge headless CMS with editable email templates using lodash template engine, server-side rendered via preview API. Solution: Bypass input filter (which blocks require/execSync but not process.env) by injecting <%= JSON.stringify(process.env) %> to dump environment variables containing the flag.
$ ls tags/ techniques/
environment_variablessstinodejsnginxexpresslodashtemplate_injectionhoneypot_flagemail_platformprocess_env
decoy_flag_recognitionprocess_env_disclosurelodash_template_sstiinput_filter_bypass
🔒
Permission denied (requires tier.pro)
Sign in to access full writeups
Sign in with GitHub to continue. No email required.
$sign in$ grep --similar
Similar writeups
- [web][Pro]Lab 133 — MailForge — SSTI via Handlebars Template Preview— hackadvisor
- [web][Pro]SendForge— hackadvisor
- [web][Pro]Lab 134 — DocForge — FreeMarker SSTI Sandbox Escape via ?api Built-in— hackadvisor
- [web][Pro]PageCraft — SSTI via Twig Template Engine in Post Content— hackadvisor
- [web][Pro]PageForge— hackadvisor