CVE-2002-1377 (GCVE-0-2002-1377)
Vulnerability from cvelistv5
Published
2004-09-01 04:00
Modified
2024-08-08 03:19
Severity ?
CWE
  • n/a
Summary
vim 6.0 and 6.1, and possibly other versions, allows attackers to execute arbitrary commands using the libcall feature in modelines, which are not sandboxed but may be executed when vim is used to edit a malicious file, as demonstrated using mutt.
References
cve@mitre.org http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000812
cve@mitre.org http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html
cve@mitre.org http://marc.info/?l=bugtraq&m=108077992208690&w=2
cve@mitre.org http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700
cve@mitre.org http://www.guninski.com/vim1.html Patch, Vendor Advisory
cve@mitre.org http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012
cve@mitre.org http://www.redhat.com/support/errata/RHSA-2002-297.html Patch, Vendor Advisory
cve@mitre.org http://www.redhat.com/support/errata/RHSA-2002-302.html
cve@mitre.org http://www.securityfocus.com/bid/6384
cve@mitre.org https://exchange.xforce.ibmcloud.com/vulnerabilities/10835
af854a3a-2127-422b-91ae-364da2661108 http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000812
af854a3a-2127-422b-91ae-364da2661108 http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html
af854a3a-2127-422b-91ae-364da2661108 http://marc.info/?l=bugtraq&m=108077992208690&w=2
af854a3a-2127-422b-91ae-364da2661108 http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700
af854a3a-2127-422b-91ae-364da2661108 http://www.guninski.com/vim1.html Patch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108 http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012
af854a3a-2127-422b-91ae-364da2661108 http://www.redhat.com/support/errata/RHSA-2002-297.html Patch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108 http://www.redhat.com/support/errata/RHSA-2002-302.html
af854a3a-2127-422b-91ae-364da2661108 http://www.securityfocus.com/bid/6384
af854a3a-2127-422b-91ae-364da2661108 https://exchange.xforce.ibmcloud.com/vulnerabilities/10835
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-08T03:19:28.975Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "6384",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/6384"
          },
          {
            "name": "RHSA-2002:302",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2002-302.html"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://www.guninski.com/vim1.html"
          },
          {
            "name": "20021213 Some vim problems, yet still vim much better than windows",
            "tags": [
              "mailing-list",
              "x_refsource_FULLDISC",
              "x_transferred"
            ],
            "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html"
          },
          {
            "name": "RHSA-2002:297",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2002-297.html"
          },
          {
            "name": "55700",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUNALERT",
              "x_transferred"
            ],
            "url": "http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700"
          },
          {
            "name": "CLA-2004:812",
            "tags": [
              "vendor-advisory",
              "x_refsource_CONECTIVA",
              "x_transferred"
            ],
            "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000812"
          },
          {
            "name": "MDKSA-2003:012",
            "tags": [
              "vendor-advisory",
              "x_refsource_MANDRAKE",
              "x_transferred"
            ],
            "url": "http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012"
          },
          {
            "name": "20040331 OpenLinux: vim arbitrary commands execution through modelines",
            "tags": [
              "mailing-list",
              "x_refsource_BUGTRAQ",
              "x_transferred"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=108077992208690\u0026w=2"
          },
          {
            "name": "vim-modeline-command-execution(10835)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/10835"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2002-12-12T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "vim 6.0 and 6.1, and possibly other versions, allows attackers to execute arbitrary commands using the libcall feature in modelines, which are not sandboxed but may be executed when vim is used to edit a malicious file, as demonstrated using mutt."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2007-11-29T00:00:00",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "name": "6384",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/6384"
        },
        {
          "name": "RHSA-2002:302",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://www.redhat.com/support/errata/RHSA-2002-302.html"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://www.guninski.com/vim1.html"
        },
        {
          "name": "20021213 Some vim problems, yet still vim much better than windows",
          "tags": [
            "mailing-list",
            "x_refsource_FULLDISC"
          ],
          "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html"
        },
        {
          "name": "RHSA-2002:297",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://www.redhat.com/support/errata/RHSA-2002-297.html"
        },
        {
          "name": "55700",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUNALERT"
          ],
          "url": "http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700"
        },
        {
          "name": "CLA-2004:812",
          "tags": [
            "vendor-advisory",
            "x_refsource_CONECTIVA"
          ],
          "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000812"
        },
        {
          "name": "MDKSA-2003:012",
          "tags": [
            "vendor-advisory",
            "x_refsource_MANDRAKE"
          ],
          "url": "http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012"
        },
        {
          "name": "20040331 OpenLinux: vim arbitrary commands execution through modelines",
          "tags": [
            "mailing-list",
            "x_refsource_BUGTRAQ"
          ],
          "url": "http://marc.info/?l=bugtraq\u0026m=108077992208690\u0026w=2"
        },
        {
          "name": "vim-modeline-command-execution(10835)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/10835"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2002-1377",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "vim 6.0 and 6.1, and possibly other versions, allows attackers to execute arbitrary commands using the libcall feature in modelines, which are not sandboxed but may be executed when vim is used to edit a malicious file, as demonstrated using mutt."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "6384",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/6384"
            },
            {
              "name": "RHSA-2002:302",
              "refsource": "REDHAT",
              "url": "http://www.redhat.com/support/errata/RHSA-2002-302.html"
            },
            {
              "name": "http://www.guninski.com/vim1.html",
              "refsource": "MISC",
              "url": "http://www.guninski.com/vim1.html"
            },
            {
              "name": "20021213 Some vim problems, yet still vim much better than windows",
              "refsource": "FULLDISC",
              "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html"
            },
            {
              "name": "RHSA-2002:297",
              "refsource": "REDHAT",
              "url": "http://www.redhat.com/support/errata/RHSA-2002-297.html"
            },
            {
              "name": "55700",
              "refsource": "SUNALERT",
              "url": "http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700"
            },
            {
              "name": "CLA-2004:812",
              "refsource": "CONECTIVA",
              "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000812"
            },
            {
              "name": "MDKSA-2003:012",
              "refsource": "MANDRAKE",
              "url": "http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012"
            },
            {
              "name": "20040331 OpenLinux: vim arbitrary commands execution through modelines",
              "refsource": "BUGTRAQ",
              "url": "http://marc.info/?l=bugtraq\u0026m=108077992208690\u0026w=2"
            },
            {
              "name": "vim-modeline-command-execution(10835)",
              "refsource": "XF",
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/10835"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2002-1377",
    "datePublished": "2004-09-01T04:00:00",
    "dateReserved": "2002-12-16T00:00:00",
    "dateUpdated": "2024-08-08T03:19:28.975Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2002-1377\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2002-12-23T05:00:00.000\",\"lastModified\":\"2025-04-03T01:03:51.193\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"vim 6.0 and 6.1, and possibly other versions, allows attackers to execute arbitrary commands using the libcall feature in modelines, which are not sandboxed but may be executed when vim is used to edit a malicious file, as demonstrated using mutt.\"},{\"lang\":\"es\",\"value\":\"vim 6.0 y 6.1 y posiblemente otras versiones, permite a atacantes ejecutar comandos arbitrarios usando la caracter\u00edstica libcall en lineas de modo, que no son apantalladas si no que pueden ser ejecutadas cuando vim es usado como editor para otros productos como mutt.\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:L/AC:L/Au:N/C:P/I:P/A:P\",\"baseScore\":4.6,\"accessVector\":\"LOCAL\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":3.9,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":true,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:5.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0B6461B4-AD69-4E54-901D-CB354FE9061C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:5.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D51F522E-E7A6-4861-BE54-C76B5D6062AB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:5.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5B5306C4-D4FA-48FE-B72A-8ED231DF283A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:5.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D8C559F4-82E7-4BFA-B1C2-AAD1EA790DE7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:5.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"FD83B9EE-82FF-4DA5-8577-97CE226EFEAF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:5.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"823E99C7-7020-48B2-8F71-6FA5A1097EC0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:5.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0A5B6675-BF67-434D-8D64-7BA6029A6BD4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:5.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"826F3339-8674-4A84-8EAC-17C884BBF723\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:5.8:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"2A7C7C4D-9E38-40A1-B003-939F46CD96CC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:6.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D3A7789A-E0B0-45EA-B05A-A5A1BF31A24D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:6.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D6FF1779-4A0A-4E9E-94E1-5F7C4EF0555B\"}]}]}],\"references\":[{\"url\":\"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000812\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://marc.info/?l=bugtraq\u0026m=108077992208690\u0026w=2\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.guninski.com/vim1.html\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.redhat.com/support/errata/RHSA-2002-297.html\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.redhat.com/support/errata/RHSA-2002-302.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.securityfocus.com/bid/6384\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://exchange.xforce.ibmcloud.com/vulnerabilities/10835\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000812\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://marc.info/?l=bugtraq\u0026m=108077992208690\u0026w=2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.guninski.com/vim1.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.redhat.com/support/errata/RHSA-2002-297.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.redhat.com/support/errata/RHSA-2002-302.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.securityfocus.com/bid/6384\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://exchange.xforce.ibmcloud.com/vulnerabilities/10835\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


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…