logo

CWE-560 - Use of umask() with chmod-style Argument

CWE-560

  • Abstraction:
  • Variant
  • Structure:
  • Simple
  • Status:
  • Draft
Weakness Name

Use of umask() with chmod-style Argument

Description

The product calls umask() with an incorrect argument that is specified as if it is an argument to chmod().

Common Consequences

Scope: Confidentiality, Integrity, Access Control

Impact: Read Files or Directories, Modify Files or Directories, Bypass Protection Mechanism

Related Weaknesses
  • Release Date:
  • 2006-07-19
  • Latest Modification Date:
  • 2023-06-29

Free security scan for your website