3.6 LOW
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): Low (L)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
Cockpit: integer overflow in `do_lastlog()` offset calculation can misaddress `lastlog` entries on ilp32 builds
A flaw was found in Cockpit. An integer overflow vulnerability in the `do_lastlog()` function, specifically in the offset calculation for `lastlog` entries on ILP32 (Integer, Long, Pointer 32-bit) builds, can be exploited. A low-privileged authenticated user with a specially provisioned large User ID (UID) can cause the computed offset to wrap around. This allows the user to perform unauthorized reads and writes to other users' `lastlog` records, potentially disclosing or altering sensitive login accounting information.
References
Affected products
Matching in nixpkgs
pkgs.cockpit
Web-based graphical interface for servers
pkgs.cockpit-zfs
Cockpit plugin for ZFS management by 45Drives
pkgs.cockpit-files
Featureful file browser for Cockpit
pkgs.cockpit-podman
Cockpit UI for podman containers
pkgs.cockpit-machines
Cockpit UI for virtual machines
pkgs.cockpit-dockermanager
Cockpit plugin for managing docker containers
-
nixos-unstable -
- nixos-unstable-small 1.0.8.2
Package maintainers
-
@lucasew Lucas Eduardo Wendt <lucas59356@gmail.com>
-
@alexandru0-dev Alexandru Nechita <alexandru.italia32+nixpkgs@gmail.com>
-
@andre4ik3 andre4ik3 <andre4ik3@fastmail.com>
-
@EpicEric Eric Rodrigues Pires <eric@eric.dev.br>
-
@hatch01 Eymeric Dechelette <hatchchien@protonmail.com>