2023-06-16 11:48:11 +03:00
|
|
|
id: open-proxy-external
|
|
|
|
|
|
|
|
|
|
info:
|
|
|
|
|
name: Open Proxy To External Network
|
|
|
|
|
author: gtrrnr
|
2023-07-06 22:57:19 +05:30
|
|
|
severity: medium
|
2023-06-16 11:48:11 +03:00
|
|
|
description: The host is configured as a proxy which allows access to other hosts on the external network.
|
2023-10-14 16:57:55 +05:30
|
|
|
remediation: Disable the proxy or restrict configuration to only allow access to approved hosts/ports.
|
2023-06-16 11:48:11 +03: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 22:57:19 +05:30
|
|
|
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 11:48:11 +03:00
|
|
|
cwe-id: CWE-441
|
|
|
|
|
metadata:
|
2023-07-08 06:51:37 +00:00
|
|
|
max-request: 3
|
2023-07-06 22:57:19 +05:30
|
|
|
tags: exposure,config,proxy,misconfig
|
2023-06-16 11:48:11 +03:00
|
|
|
|
|
|
|
|
http:
|
|
|
|
|
- raw:
|
|
|
|
|
- |+
|
2023-07-26 20:22:27 +05:30
|
|
|
GET https://test.s3.amazonaws.com HTTP/1.1
|
|
|
|
|
Host: test.s3.amazonaws.com
|
2023-06-16 11:48:11 +03:00
|
|
|
|
|
|
|
|
- |+
|
|
|
|
|
GET http://{{interactsh-url}} HTTP/1.1
|
|
|
|
|
Host: {{interactsh-url}}
|
|
|
|
|
|
2023-07-08 12:01:58 +05:30
|
|
|
- |+
|
|
|
|
|
GET / HTTP/1.1
|
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
2023-06-16 11:48:11 +03:00
|
|
|
unsafe: true
|
2023-10-14 16:57:55 +05:30
|
|
|
|
2023-07-08 12:01:58 +05:30
|
|
|
matchers-condition: and
|
2023-06-16 11:48:11 +03:00
|
|
|
matchers:
|
|
|
|
|
- type: dsl
|
|
|
|
|
dsl:
|
2024-01-10 19:35:25 +05:30
|
|
|
- contains_any(body_1, "<HostId>", "</HostId>")
|
2023-06-16 11:48:11 +03:00
|
|
|
- contains(header_2, "X-Interactsh-Version")
|
2024-01-09 16:12:29 +03:00
|
|
|
condition: and
|
2023-07-08 12:01:58 +05:30
|
|
|
|
|
|
|
|
- type: dsl
|
|
|
|
|
dsl:
|
2023-07-26 20:22:27 +05:30
|
|
|
- '!contains(body_3, "<HostId>")'
|
2023-07-26 21:33:14 +05:30
|
|
|
- '!contains(header_3, "X-Interactsh-Version")'
|
2023-07-26 20:22:27 +05:30
|
|
|
condition: and
|
2024-12-01 13:57:55 +00:00
|
|
|
# digest: 490a0046304402204d8b696b11a0e4e514a61064c159012a084637f19975fb5845fca801a5f2a2250220346dfc075c75097ff1b5ff3294aacf90af2132cf78e6e7252aacc8183c7312e5:922c64590222798bb761d5b6d8e72950
|