SecurityContext

open-proxy-external: Open Proxy To External Network

Classification

  • Cwe: CWE-441
  • Cvss score: 5.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
  • Not known: epss score, epss percentile, cpe

Metadata

  • Max-request: 3

Labels

  • Name: Open Proxy - Misconfiguration
  • Impact: Attackers can use the host as an open proxy to relay traffic to external networks, potentially masking their origin or abusing the host's network position.
  • Remediation: Reconfigure the proxy to restrict access to trusted clients or disable open proxy functionality; update to the latest version if applicable.
  • Vulnerability type: misconfiguration
  • Requirement type: none
  • Labels source: securitycontext
  • Checked, none or zero: vulnerability impact
  • Not known: requirements, from cve

```yaml

id: open-proxy-external

info:

name: Open Proxy To External Network

author: gtrrnr

severity: medium

description: The host is configured as a proxy which allows access to other hosts on the external network.

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:

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

tags: exposure,config,proxy,misconfig,vuln

http:

- raw:

- |+

GET https://test.s3.amazonaws.com HTTP/1.1

Host: test.s3.amazonaws.com

- |+

GET http://{{interactsh-url}} HTTP/1.1

Host: {{interactsh-url}}

- |+

GET / HTTP/1.1

Host: {{Hostname}}

unsafe: true

matchers-condition: and

matchers:

- type: dsl

dsl:

- contains_any(body_1, "<HostId>", "</HostId>")

- contains(header_2, "X-Interactsh-Version")

condition: and

- type: dsl

dsl:

- '!contains(body_3, "<HostId>")'

- '!contains(header_3, "X-Interactsh-Version")'

condition: and

digest: 4a0a004730450221009c334d422de259e9e0db330c1ae0037f0db60a76d589624d8403c934641f9cf802201aaedae19e8e25247022914f87483e932e12d2010635223a2401e97b75a6f5ba:922c64590222798bb761d5b6d8e72950

```