CVE-2004-1138 (GCVE-0-2004-1138)
Vulnerability from cvelistv5
Published
2004-12-22 05:00
Modified
2024-08-08 00:39
Severity ?
CWE
  • n/a
Summary
VIM before 6.3 and gVim before 6.3 allow local users to execute arbitrary commands via a file containing a crafted modeline that is executed when the file is viewed using options such as (1) termcap, (2) printdevice, (3) titleold, (4) filetype, (5) syntax, (6) backupext, (7) keymap, (8) patchmode, or (9) langmenu.
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-08T00:39:00.870Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "OpenPKG-SA-2004.052",
            "tags": [
              "vendor-advisory",
              "x_refsource_OPENPKG",
              "x_transferred"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=110313588125609\u0026w=2"
          },
          {
            "name": "GLSA-200412-10",
            "tags": [
              "vendor-advisory",
              "x_refsource_GENTOO",
              "x_transferred"
            ],
            "url": "http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml"
          },
          {
            "name": "vim-modeline-gain-privileges(18503)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/18503"
          },
          {
            "name": "FLSA:2343",
            "tags": [
              "vendor-advisory",
              "x_refsource_FEDORA",
              "x_transferred"
            ],
            "url": "https://bugzilla.fedora.us/show_bug.cgi?id=2343"
          },
          {
            "name": "RHSA-2005:036",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2005-036.html"
          },
          {
            "name": "RHSA-2005:010",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2005-010.html"
          },
          {
            "name": "oval:org.mitre.oval:def:9571",
            "tags": [
              "vdb-entry",
              "signature",
              "x_refsource_OVAL",
              "x_transferred"
            ],
            "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2004-12-15T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "VIM before 6.3 and gVim before 6.3 allow local users to execute arbitrary commands via a file containing a crafted modeline that is executed when the file is viewed using options such as (1) termcap, (2) printdevice, (3) titleold, (4) filetype, (5) syntax, (6) backupext, (7) keymap, (8) patchmode, or (9) langmenu."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2017-10-10T00:57:01",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "name": "OpenPKG-SA-2004.052",
          "tags": [
            "vendor-advisory",
            "x_refsource_OPENPKG"
          ],
          "url": "http://marc.info/?l=bugtraq\u0026m=110313588125609\u0026w=2"
        },
        {
          "name": "GLSA-200412-10",
          "tags": [
            "vendor-advisory",
            "x_refsource_GENTOO"
          ],
          "url": "http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml"
        },
        {
          "name": "vim-modeline-gain-privileges(18503)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/18503"
        },
        {
          "name": "FLSA:2343",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA"
          ],
          "url": "https://bugzilla.fedora.us/show_bug.cgi?id=2343"
        },
        {
          "name": "RHSA-2005:036",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://www.redhat.com/support/errata/RHSA-2005-036.html"
        },
        {
          "name": "RHSA-2005:010",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://www.redhat.com/support/errata/RHSA-2005-010.html"
        },
        {
          "name": "oval:org.mitre.oval:def:9571",
          "tags": [
            "vdb-entry",
            "signature",
            "x_refsource_OVAL"
          ],
          "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2004-1138",
          "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 before 6.3 and gVim before 6.3 allow local users to execute arbitrary commands via a file containing a crafted modeline that is executed when the file is viewed using options such as (1) termcap, (2) printdevice, (3) titleold, (4) filetype, (5) syntax, (6) backupext, (7) keymap, (8) patchmode, or (9) langmenu."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "OpenPKG-SA-2004.052",
              "refsource": "OPENPKG",
              "url": "http://marc.info/?l=bugtraq\u0026m=110313588125609\u0026w=2"
            },
            {
              "name": "GLSA-200412-10",
              "refsource": "GENTOO",
              "url": "http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml"
            },
            {
              "name": "vim-modeline-gain-privileges(18503)",
              "refsource": "XF",
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/18503"
            },
            {
              "name": "FLSA:2343",
              "refsource": "FEDORA",
              "url": "https://bugzilla.fedora.us/show_bug.cgi?id=2343"
            },
            {
              "name": "RHSA-2005:036",
              "refsource": "REDHAT",
              "url": "http://www.redhat.com/support/errata/RHSA-2005-036.html"
            },
            {
              "name": "RHSA-2005:010",
              "refsource": "REDHAT",
              "url": "http://www.redhat.com/support/errata/RHSA-2005-010.html"
            },
            {
              "name": "oval:org.mitre.oval:def:9571",
              "refsource": "OVAL",
              "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2004-1138",
    "datePublished": "2004-12-22T05:00:00",
    "dateReserved": "2004-12-06T00:00:00",
    "dateUpdated": "2024-08-08T00:39:00.870Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2004-1138\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2005-01-10T05:00:00.000\",\"lastModified\":\"2025-04-03T01:03:51.193\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"VIM before 6.3 and gVim before 6.3 allow local users to execute arbitrary commands via a file containing a crafted modeline that is executed when the file is viewed using options such as (1) termcap, (2) printdevice, (3) titleold, (4) filetype, (5) syntax, (6) backupext, (7) keymap, (8) patchmode, or (9) langmenu.\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:L/AC:L/Au:N/C:C/I:C/A:C\",\"baseScore\":7.2,\"accessVector\":\"LOCAL\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"COMPLETE\",\"integrityImpact\":\"COMPLETE\",\"availabilityImpact\":\"COMPLETE\"},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":3.9,\"impactScore\":10.0,\"acInsufInfo\":false,\"obtainAllPrivilege\":true,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"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\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:6.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B39392CC-FC4C-404E-BD18-8284F9C013CB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:6.3.011:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C1B0FABE-75CE-4074-91FF-0D02DD0B6F1A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:6.3.025:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6536006A-DB7A-4A50-9CF3-30EEAB59A83F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:6.3.030:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"E7240424-79F1-41AA-AF22-C66F9F94B7E5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim_development_group:vim:6.3.044:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"E1BA3F17-DA8F-4E4F-B654-AEBED68B43B8\"}]}]}],\"references\":[{\"url\":\"http://marc.info/?l=bugtraq\u0026m=110313588125609\u0026w=2\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.redhat.com/support/errata/RHSA-2005-010.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.redhat.com/support/errata/RHSA-2005-036.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://bugzilla.fedora.us/show_bug.cgi?id=2343\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://exchange.xforce.ibmcloud.com/vulnerabilities/18503\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://marc.info/?l=bugtraq\u0026m=110313588125609\u0026w=2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.redhat.com/support/errata/RHSA-2005-010.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.redhat.com/support/errata/RHSA-2005-036.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://bugzilla.fedora.us/show_bug.cgi?id=2343\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://exchange.xforce.ibmcloud.com/vulnerabilities/18503\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571\",\"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…