1. CVE archive
  2. 2004
  3. CVE-2004-1349

CVE-2004-1349

2.1 Low severity CVSS v2.0 · source NVD AV:L/AC:L/Au:N/C:P/I:N/A:N 2.1 – Low

Description

gzip before 1.3 in Solaris 8, when called with the -f or -force flags, will change the permissions of files that are hard linked to the target files, which allows local users to view or modify these files.

Affected products

VendorProductVersionPlatform
gnu gzip < 1.3 –
oracle solaris 8 –
All 13 Gnu Gzip vulnerabilities
All 586 Oracle Solaris 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