Skip to main content

Incorrect Authorization

CVE-2024-9902

Severity Medium
Score 6.3/10

Summary

A flaw was found in Ansible versions prior to 2.14.18rc1, 2.15.x prior to 2.15.13rc1, 2.16.x prior to 2.16.13rc1, 2.17.x prior to 2.17.6rc1, 2.18.x prior to 2.18.0rc2. The ansible-core "user" module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the "user" module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.

  • HIGH
  • LOCAL
  • HIGH
  • UNCHANGED
  • REQUIRED
  • LOW
  • HIGH
  • LOW

CWE-863 - Incorrect Authorization

Authorization is a security mechanism performed by an application to grant or deny access to the requested resources by verifying the privileges of the user. When an application lacks effective authorization mechanisms, it enables unauthorized users to gain unintended privileges and illegitimate access to resources. Such a vulnerability may result in exposure of sensitive information, denial of service, arbitrary code execution, and complete system takeover.

Advisory Timeline

  • Published