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.
|
|
|
|
reference:
|
|
|
|
- https://en.wikipedia.org/wiki/Open_proxy
|
|
|
|
- https://www.acunetix.com/vulnerabilities/web/apache-configured-to-run-as-proxy/
|
2023-07-06 17:27:19 +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
|
|
|
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:
|
|
|
|
- |+
|
|
|
|
GET http://example.com HTTP/1.1
|
|
|
|
Host: example.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}}
|
|
|
|
|
2023-06-16 08:48:11 +00:00
|
|
|
unsafe: true
|
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-06 17:27:19 +00:00
|
|
|
- contains(body_1, "www.iana.org") || contains(body_1, "<title>Example Domain</title>")
|
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:
|
|
|
|
- '!contains(body_3, "<title>Example Domain</title>")'
|