1. CVE archive
  2. 2014
  3. CVE-2014-0185

CVE-2014-0185

7.2 High severity CVSS v2.0 · source NVD AV:L/AC:L/Au:N/C:C/I:C/A:C 7.2 – High

Description

sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before 5.4.28 and 5.5.x before 5.5.12 uses 0666 permissions for the UNIX socket, which allows local users to gain privileges via a crafted FastCGI client.

Affected products

VendorProductVersionPlatform
php php >= 5.3.0 < 5.3.28 –
php php >= 5.4.0 < 5.4.28 –
php php >= 5.5.0 < 5.5.12 –
All 757 Php vulnerabilities

Vulnerability type

CWE-269 Improper Privilege Management

The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Impact on systems

ScopeImpact
Access Control Gain Privileges or Assume Identity

How to prevent it

Architecture and Design · Operation Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Architecture and Design · Separation of Privilege Follow the principle of least privilege when assigning access rights to entities in a software system.
Architecture and Design · Separation of Privilege Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.

All 4,417 CWE-269 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org