Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2023-42456
memorysafety sudo

Puan8.1 Yüksek
CVSS 3.1
İstismar olasılığı (EPSS)0.66%
önümüzdeki 30 gün içinde
KategoriYetki atlatma ve erişim denetimi
Yayımlanma21 Eylül 2023
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık internet üzerinden, uzaktan, sıradan bir kullanıcı hesabıyla, kullanıcının bir şey yapmasına gerek kalmadan istismar edilebilir.

Başarılı bir saldırıda ciddi etki: verilerin değiştirilmesi, sistemin çökertilmesi ya da kullanılamaz hale gelmesi.

Açık türü: Dizin geçişi (path traversal).

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

Sudo-rs, a memory safe implementation of sudo and su, allows users to not have to enter authentication at every sudo attempt, but instead only requiring authentication every once in a while in every terminal or process group. Only once a configurable timeout has passed will the user have to re-authenticate themselves. Supporting this functionality is a set of session files (timestamps) for each user, stored in `/var/run/sudo-rs/ts`. These files are named according to the username from which the sudo attempt is made (the origin user). An issue was discovered in versions prior to 0.2.1 where usernames containing the `.` and `/` characters could result in the corruption of specific files on the filesystem. As usernames are generally not limited by the characters they can contain, a username appearing to be a relative path can be constructed. For example we could add a user to the system containing the username `../../../../bin/cp`. When logged in as a user with that name, that user could run `sudo -K` to clear their session record file. The session code then constructs the path to the session file by concatenating the username to the session file storage directory, resulting in a resolved path of `/bin/cp`. The code then clears that file, resulting in the `cp` binary effectively being removed from the system. An attacker needs to be able to login as a user with a constructed username. Given that such a username is unlikely to exist on an existing system, they will also need to be able to create the users with the constructed usernames. The issue is patched in version 0.2.1 of sudo-rs. Sudo-rs now uses the uid for the user instead of their username for determining the filename. Note that an upgrade to this version will result in existing session files being ignored and users will be forced to re-authenticate. It also fully eliminates any possibility of path traversal, given that uids are always integer values. The `sudo -K` and `sudo -k` commands can run, even if a user has no sudo access. As a workaround, make sure that one's system does not contain any users with a specially crafted username. While this is the case and while untrusted users do not have the ability to create arbitrary users on the system, one should not be able to exploit this issue.

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Açık türü: CWE-22 – Dizin geçişi (path traversal), CWE-23

Etkilenen ürünler

ÜreticiÜrünSürümler
memorysafetysudo<0.2.1

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-129973 Yüksek 7.2
    Velociraptor allows administrators to restrict server-side VQL native file access to approved host directories. Plugins usually check the user has the FILESYSTEM_READ/FILESYSTEM_WRITE permission first (usually only…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-56477 Yüksek 8.8
    HCL Telco Observability is affected by an Improper Authorization vulnerability in its admin endpoint access-control checks, which could allow a remote authenticated attacker to submit a valid, lower-privileged JWT…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133644 Puanlanmadı
    Incorrect authorization vulnerability in Apache Struts. An action can restrict which HTTP methods it accepts with the HTTP method annotations such as @HttpPost. When the annotation is placed on the action's default…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133734 Orta 6
    Joomla Extension - phoca.cz - Missing authorization for file actions in Phoca Commander 1.0.0-6.1.4 - Missing authorization checks for file actions allow users with access to the component to create, upload, rename,…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133729 Orta 6.4
    Joomla Extension - phoca.cz - Path Traversal vulnerability in Phoca Commander 1.0.0-6.1.4 - Improper limitation of file and folder names for copy, move, delete and rename actions lead to path traversal vulnerabilities.…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133649 Puanlanmadı
    Incorrect authorization vulnerability in Apache Struts. Struts can restrict an action to a set of HTTP methods through annotations declared either on the action class or on the action method. In Struts 6.9.0 a…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026