nuclei-templates/http/misconfiguration/proxy/open-proxy-external.yaml

49 lines
1.5 KiB
YAML
Raw Normal View History

id: open-proxy-external
info:
name: Open Proxy To External Network
author: gtrrnr
2023-07-06 17:27:19 +00:00
severity: medium
description: The host is configured as a proxy which allows access to other hosts on the external network.
2023-10-14 11:27:55 +00:00
remediation: Disable the proxy or restrict configuration to only allow access to approved hosts/ports.
reference:
- https://en.wikipedia.org/wiki/Open_proxy
- https://www.acunetix.com/vulnerabilities/web/apache-configured-to-run-as-proxy/
classification:
2023-07-06 17:27:19 +00:00
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
cvss-score: 5.8
cwe-id: CWE-441
metadata:
max-request: 3
2023-07-06 17:27:19 +00:00
tags: exposure,config,proxy,misconfig
http:
- raw:
- |+
2023-07-26 14:52:27 +00:00
GET https://test.s3.amazonaws.com HTTP/1.1
Host: test.s3.amazonaws.com
- |+
GET http://{{interactsh-url}} HTTP/1.1
Host: {{interactsh-url}}
2023-07-08 06:31:58 +00:00
- |+
GET / HTTP/1.1
Host: {{Hostname}}
unsafe: true
2023-10-14 11:27:55 +00:00
2023-07-08 06:31:58 +00:00
matchers-condition: and
matchers:
- type: dsl
dsl:
2024-01-10 14:05:25 +00:00
- contains_any(body_1, "<HostId>", "</HostId>")
- contains(header_2, "X-Interactsh-Version")
condition: and
2023-07-08 06:31:58 +00:00
- type: dsl
dsl:
2023-07-26 14:52:27 +00:00
- '!contains(body_3, "<HostId>")'
2023-07-26 16:03:14 +00:00
- '!contains(header_3, "X-Interactsh-Version")'
2023-07-26 14:52:27 +00:00
condition: and
# digest: 4a0a00473045022036d712fd134d5c58821298c23404532ac0e933bd50c1cbba15c659a6c3874c9c022100edb90dfd6b0bae8c2d78bed811944d4bff8fb3b2855ba92e192c7042eec4a127:922c64590222798bb761d5b6d8e72950