2023-06-16 08:48:11 +00:00
|
|
|
id: open-proxy-external
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Open Proxy To External Network
|
|
|
|
author: gtrrnr
|
2023-07-06 17:27:19 +00:00
|
|
|
severity: medium
|
2023-06-16 08:48:11 +00:00
|
|
|
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.
|
2023-06-16 08:48:11 +00:00
|
|
|
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
|
2023-06-16 08:48:11 +00:00
|
|
|
cwe-id: CWE-441
|
|
|
|
metadata:
|
2023-07-08 06:51:37 +00:00
|
|
|
max-request: 3
|
2023-07-06 17:27:19 +00:00
|
|
|
tags: exposure,config,proxy,misconfig
|
2023-06-16 08:48:11 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |+
|
2023-07-26 14:52:27 +00:00
|
|
|
GET https://test.s3.amazonaws.com HTTP/1.1
|
|
|
|
Host: test.s3.amazonaws.com
|
2023-06-16 08:48:11 +00:00
|
|
|
|
|
|
|
- |+
|
|
|
|
GET http://{{interactsh-url}} HTTP/1.1
|
|
|
|
Host: {{interactsh-url}}
|
|
|
|
|
2023-07-08 06:31:58 +00:00
|
|
|
- |+
|
|
|
|
GET / HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
2023-06-16 08:48:11 +00:00
|
|
|
unsafe: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-07-08 06:31:58 +00:00
|
|
|
matchers-condition: and
|
2023-06-16 08:48:11 +00:00
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2023-07-26 14:52:27 +00:00
|
|
|
- contains(body_1, "<HostId>") || contains(body_1, "</HostId>")
|
2023-06-16 08:48:11 +00:00
|
|
|
- contains(header_2, "X-Interactsh-Version")
|
|
|
|
condition: or
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100e09e086df53cace2d5906791dee1b9c1de19a458985b96759b0d7770488c89080221008595e80e921acb3473272372967c5986797680701459f8e93a1e9245cbf75678:922c64590222798bb761d5b6d8e72950
|