CVE-2023-7080

Published: Dic 29, 2023 Last Modified: Nov 21, 2024 EU-VD ID: EUVD-2024-0344 Aliases: GHSA-f8mp-x433-5wpf
ExploitDB:
Other exploit source:
Google Dorks:
HIGH 8,5
Attack Vector: adjacent_network
Attack Complexity: low
Privileges Required: none
User Interaction: required
Scope: changed
Confidentiality: high
Integrity: high
Availability: none

Description

AI Translation Available

The V8 inspector intentionally allows arbitrary code execution within the Workers sandbox for debugging. wrangler dev would previously start an inspector server listening on all network interfaces. This would allow an attacker on the local network to connect to the inspector and run arbitrary code. Additionally, the inspector server did not validate Origin/Host headers, granting an attacker that can trick any user on the local network into opening a malicious website the ability to run code. If wrangler dev --remote was being used, an attacker could access production resources if they were bound to the worker.

This issue was fixed in [email protected] and [email protected]. Whilst wrangler dev's inspector server listens on local interfaces by default as of [email protected], an SSRF vulnerability in miniflare https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-fwvg-2739-22v7  (CVE-2023-7078) allowed access from the local network until [email protected]. [email protected] and [email protected] introduced validation for the Origin/Host headers.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0004
Percentile
0,1th
Updated

EPSS Score Trend (Last 90 Days)

269

Improper Privilege Management

Draft
Common Consequences
Security Scopes Affected:
Access Control
Potential Impacts:
Gain Privileges Or Assume Identity
Applicable Platforms
All platforms may be affected
View CWE Details
Application

Wrangler by Cloudflare

Version Range Affected
From 3.0.0 (inclusive)
To 3.19.0 (exclusive)
cpe:2.3:a:cloudflare:wrangler:*:*:*:*:*:node.js:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Wrangler by Cloudflare

Version Range Affected
From 2.0.0 (inclusive)
To 2.20.2 (exclusive)
cpe:2.3:a:cloudflare:wrangler:*:*:*:*:*:node.js:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://github.com/cloudflare/workers-sdk/issues/4430
https://github.com/cloudflare/workers-sdk/pull/4437
https://github.com/cloudflare/workers-sdk/pull/4535
https://github.com/cloudflare/workers-sdk/pull/4550
https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-f8mp-x433-5w…
https://github.com/cloudflare/workers-sdk/issues/4430
https://github.com/cloudflare/workers-sdk/pull/4437
https://github.com/cloudflare/workers-sdk/pull/4535
https://github.com/cloudflare/workers-sdk/pull/4550
https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-f8mp-x433-5w…