Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2023-26604

Description

systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible sudoers files in which the "systemctl status" command may be executed. Specifically, systemd does not set LESSSECURE to 1, and thus other programs may be launched from the less program. This presents a substantial security risk when running systemctl from Sudo, because less executes as root when the terminal size is too small to show the complete systemctl output.

POC

Reference

- http://packetstormsecurity.com/files/174130/systemd-246-Local-Root-Privilege-Escalation.html

- https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-2-insecure-functionality/

- https://medium.com/@zenmoviefornotification/saidov-maxim-cve-2023-26604-c1232a526ba7

Github

- https://github.com/11notes/docker-unifi

- https://github.com/FerdiGul/KOUF5

- https://github.com/FerdiGul/KOU_F5

- https://github.com/Kiosec/Linux-Exploitation

- https://github.com/Kobra3390/knight

- https://github.com/N3rdyN3xus/CVE-2023-1326

- https://github.com/NyxByt3/CVE-2023-1326

- https://github.com/Pol-Ruiz/CVE-2023-1326

- https://github.com/Sp3c73rSh4d0w/CVE-2023-1326

- https://github.com/Wetrel/HackTheBox_Sau

- https://github.com/Zenmovie/CVE-2023-26604

- https://github.com/cve-2024/CVE-2023-1326-PoC

- https://github.com/denis-jdsouza/wazuh-vulnerability-report-maker

- https://github.com/diego-tella/CVE-2023-1326-PoC

- https://github.com/fkie-cad/nvd-json-data-feeds

- https://github.com/h3x0v3rl0rd/CVE-2023-1326

- https://github.com/h3xcr4ck3r/CVE-2023-1326

- https://github.com/n3rdh4x0r/CVE-2023-1326

- https://github.com/nomi-sec/PoC-in-GitHub

- https://github.com/szmpns/HackTheBox-Writeups

- https://github.com/tl87/container-scanner