Exploit LightDM 1.0.6 - Arbitrary File Deletion

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
36966
Проверка EDB
  1. Пройдено
Автор
RYAN LORTIE
Тип уязвимости
LOCAL
Платформа
LINUX
CVE
cve-2012-0943
Дата публикации
2012-03-13
LightDM 1.0.6 - Arbitrary File Deletion
Код:
source: https://www.securityfocus.com/bid/52452/info

Light Display Manager (LightDM) is prone to a local arbitrary-file-deletion vulnerability.

A local attacker can exploit this issue to delete arbitrary files with administrator privileges.

Light Display Manager (LightDM) 1.0.6 is vulnerable. Other versions may also be affected. 

/usr/sbin/guest-account has this cleanup:

# remove leftovers in /tmp
find /tmp -mindepth 1 -maxdepth 1 -uid "$UID" | xargs rm -rf || true

This runs with the cwd of the last logged in user. If the user creates a file "/tmp/x a", the file "a" gets removed from the last user's login.
 
Источник
www.exploit-db.com

Похожие темы