fkie_cve-2008-3074
Vulnerability from fkie_nvd
Published
2009-02-21 22:30
Modified
2025-04-09 00:30
Severity ?
Summary
The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.
References
cve@mitre.orghttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919
cve@mitre.orghttp://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
cve@mitre.orghttp://marc.info/?l=bugtraq&m=121494431426308&w=2
cve@mitre.orghttp://secunia.com/advisories/34418
cve@mitre.orghttp://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324
cve@mitre.orghttp://www.mandriva.com/security/advisories?name=MDVSA-2008:236
cve@mitre.orghttp://www.openwall.com/lists/oss-security/2008/07/07/1
cve@mitre.orghttp://www.openwall.com/lists/oss-security/2008/07/07/4Exploit, Patch
cve@mitre.orghttp://www.openwall.com/lists/oss-security/2008/07/08/12
cve@mitre.orghttp://www.openwall.com/lists/oss-security/2008/07/10/7
cve@mitre.orghttp://www.openwall.com/lists/oss-security/2008/07/13/1
cve@mitre.orghttp://www.openwall.com/lists/oss-security/2008/07/15/4
cve@mitre.orghttp://www.openwall.com/lists/oss-security/2008/08/01/1
cve@mitre.orghttp://www.openwall.com/lists/oss-security/2008/10/15/1
cve@mitre.orghttp://www.openwall.com/lists/oss-security/2008/10/20/2
cve@mitre.orghttp://www.rdancer.org/vulnerablevim-shellescape.html
cve@mitre.orghttp://www.rdancer.org/vulnerablevim.htmlExploit, Patch, Vendor Advisory
cve@mitre.orghttp://www.redhat.com/support/errata/RHSA-2008-0580.html
cve@mitre.orghttp://www.securityfocus.com/bid/32462
cve@mitre.orghttps://bugzilla.redhat.com/show_bug.cgi?id=467428
cve@mitre.orghttps://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10754
af854a3a-2127-422b-91ae-364da2661108http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919
af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
af854a3a-2127-422b-91ae-364da2661108http://marc.info/?l=bugtraq&m=121494431426308&w=2
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/34418
af854a3a-2127-422b-91ae-364da2661108http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324
af854a3a-2127-422b-91ae-364da2661108http://www.mandriva.com/security/advisories?name=MDVSA-2008:236
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2008/07/07/1
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2008/07/07/4Exploit, Patch
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2008/07/08/12
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2008/07/10/7
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2008/07/13/1
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2008/07/15/4
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2008/08/01/1
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2008/10/15/1
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2008/10/20/2
af854a3a-2127-422b-91ae-364da2661108http://www.rdancer.org/vulnerablevim-shellescape.html
af854a3a-2127-422b-91ae-364da2661108http://www.rdancer.org/vulnerablevim.htmlExploit, Patch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://www.redhat.com/support/errata/RHSA-2008-0580.html
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/32462
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=467428
af854a3a-2127-422b-91ae-364da2661108https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10754
Impacted products
Vendor Product Version
vim tar.vim v.10
vim tar.vim v.11
vim tar.vim v.12
vim tar.vim v.13
vim tar.vim v.14
vim tar.vim v.15
vim tar.vim v.16
vim tar.vim v.17
vim tar.vim v.18
vim tar.vim v.19
vim tar.vim v.20
vim tar.vim v.21
vim tar.vim v.22
vim vim 7.0
vim vim 7.1
vim vim 7.1.266
vim vim 7.1.314
vim vim 7.2



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.10:*:*:*:*:*:*:*",
              "matchCriteriaId": "2B487E3B-B247-4D72-B3AF-52D0ABEF0686",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.11:*:*:*:*:*:*:*",
              "matchCriteriaId": "CE35C07E-621A-4106-A4E6-F60CD3AFFA08",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.12:*:*:*:*:*:*:*",
              "matchCriteriaId": "F279ECB9-6CC8-4D0D-95B0-22754302873C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.13:*:*:*:*:*:*:*",
              "matchCriteriaId": "72A0A3B1-789F-44B9-A96A-E7A89C1CF98A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.14:*:*:*:*:*:*:*",
              "matchCriteriaId": "7C9F9C9C-4476-4A39-A08A-E6BC341876DB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.15:*:*:*:*:*:*:*",
              "matchCriteriaId": "E1514FE8-72B2-4766-963B-D5E1002F67E1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.16:*:*:*:*:*:*:*",
              "matchCriteriaId": "AB78E2BB-A45A-4379-A8FE-41ABC775EC1D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.17:*:*:*:*:*:*:*",
              "matchCriteriaId": "24BD87B3-A388-4898-B433-E3553B9A3AD3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.18:*:*:*:*:*:*:*",
              "matchCriteriaId": "FF1FAF13-267E-4669-A379-AB31562452C0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.19:*:*:*:*:*:*:*",
              "matchCriteriaId": "F9B36F1A-C11D-4824-AB8E-261A07A18993",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.20:*:*:*:*:*:*:*",
              "matchCriteriaId": "EFBD8B15-F906-47FA-87B3-19DABD821B13",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.21:*:*:*:*:*:*:*",
              "matchCriteriaId": "3A699C78-DF9C-4DC4-8DE4-0C03392D9690",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:tar.vim:v.22:*:*:*:*:*:*:*",
              "matchCriteriaId": "25B01224-1A26-41C7-9191-CC14EDB2EA29",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:vim:7.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "97CCAA40-55CE-4AB9-9268-AADA06E29B9C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:vim:7.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "A8C5B265-A7DD-4D24-864C-BF1FEEF8F138",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:vim:7.1.266:*:*:*:*:*:*:*",
              "matchCriteriaId": "99E9ABC5-442C-4693-8F86-A969AD89A0C1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:vim:7.1.314:*:*:*:*:*:*:*",
              "matchCriteriaId": "12BE4D12-2B98-4617-ADE2-6E71552306A0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:vim:vim:7.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "3613F5F4-9B8C-4020-8550-23310A41C85C",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the \"!\" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases.  NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075.  NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier."
    },
    {
      "lang": "es",
      "value": "La funcion shellescape en Vim desde v7.0 hasta v7.2, incluida la v7.2a.10, lo que permite a atacantes asistidos por el usuario ejecutar codigo a su eleccion a traves del metacaracter de linea de secuencia de comandos \"!\" (exclamacion) en (1) El nombre del fichero de un archi tar y posiblemente (2)el nombre del primer fichero de un archivo tar, el cual no es adecuadamente manejado por el plugin VIM TAR (tar.vim) v.10 hasta v.22, como quedo demostrado en los casos de prueba tarplugin.v2, tarplugin, y tarplugin.updated. NOTA: Estos datos tiene las mismas causas que CVE-2008-3075. NOTA: Debido a la complejidad de la revelaciones asociadad y la informacion incompleta relacionada con este hecho, es posible que existan inexactitudes en la descripcion de esta vulnerabilidad"
    }
  ],
  "id": "CVE-2008-3074",
  "lastModified": "2025-04-09T00:30:58.490",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "COMPLETE",
          "baseScore": 9.3,
          "confidentialityImpact": "COMPLETE",
          "integrityImpact": "COMPLETE",
          "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 10.0,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": true
      }
    ]
  },
  "published": "2009-02-21T22:30:00.217",
  "references": [
    {
      "source": "cve@mitre.org",
      "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://marc.info/?l=bugtraq\u0026m=121494431426308\u0026w=2"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/34418"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:236"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.openwall.com/lists/oss-security/2008/07/07/1"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit",
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2008/07/07/4"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.openwall.com/lists/oss-security/2008/07/08/12"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.openwall.com/lists/oss-security/2008/07/10/7"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.openwall.com/lists/oss-security/2008/07/13/1"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.openwall.com/lists/oss-security/2008/07/15/4"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.openwall.com/lists/oss-security/2008/08/01/1"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.openwall.com/lists/oss-security/2008/10/15/1"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.openwall.com/lists/oss-security/2008/10/20/2"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.rdancer.org/vulnerablevim-shellescape.html"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit",
        "Patch",
        "Vendor Advisory"
      ],
      "url": "http://www.rdancer.org/vulnerablevim.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0580.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/bid/32462"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=467428"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10754"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://marc.info/?l=bugtraq\u0026m=121494431426308\u0026w=2"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/34418"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:236"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2008/07/07/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2008/07/07/4"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2008/07/08/12"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2008/07/10/7"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2008/07/13/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2008/07/15/4"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2008/08/01/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2008/10/15/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2008/10/20/2"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.rdancer.org/vulnerablevim-shellescape.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Patch",
        "Vendor Advisory"
      ],
      "url": "http://www.rdancer.org/vulnerablevim.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0580.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/32462"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=467428"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10754"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-78"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…