1. CVE archive
  2. 2017
  3. CVE-2017-0909

CVE-2017-0909

9.8 Critical severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critical

Description

The private_address_check ruby gem before 0.4.1 is vulnerable to a bypass due to an incomplete blacklist of common private/local network addresses used to prevent server-side request forgery.

Affected products

VendorProductVersionPlatform
private address check project private address check < 0.4.1 ruby

Vulnerability type

CWE-184 Incomplete List of Disallowed Inputs

The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.

Impact on systems

ScopeImpact
Access Control Bypass Protection Mechanism
Attackers may be able to find other malicious inputs that were not expected by the developer, allowing them to bypass the intended protection mechanism.

How to prevent it

Implementation · Input Validation Do not rely exclusively on detecting disallowed inputs. There are too many variants to encode a character, especially when different environments are used, so there is a high likelihood of missing some variants. Only use detection of disallowed inputs as a mechanism for detecting suspicious activity. Ensure that you are using other protection mechanisms that only identify good input - such as lists of allowed inputs - and ensure that you are properly encoding your outputs.

All 215 CWE-184 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org