gsd-2004-0940
Vulnerability from gsd
Modified
2023-12-13 01:22
Details
Buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users who can create SSI documents to execute arbitrary code as the apache user via SSI (XSSI) documents that trigger a length calculation error.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2004-0940",
    "description": "Buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users who can create SSI documents to execute arbitrary code as the apache user via SSI (XSSI) documents that trigger a length calculation error.",
    "id": "GSD-2004-0940",
    "references": [
      "https://www.suse.com/security/cve/CVE-2004-0940.html",
      "https://www.debian.org/security/2004/dsa-594",
      "https://access.redhat.com/errata/RHSA-2005:816",
      "https://access.redhat.com/errata/RHSA-2004:653",
      "https://access.redhat.com/errata/RHSA-2004:600"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2004-0940"
      ],
      "details": "Buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users who can create SSI documents to execute arbitrary code as the apache user via SSI (XSSI) documents that trigger a length calculation error.",
      "id": "GSD-2004-0940",
      "modified": "2023-12-13T01:22:54.534674Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2004-0940",
        "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": "Buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users who can create SSI documents to execute arbitrary code as the apache user via SSI (XSSI) documents that trigger a length calculation error."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "OpenPKG-SA-2004.047",
            "refsource": "OPENPKG",
            "url": "http://marc.info/?l=bugtraq\u0026m=109906660225051\u0026w=2"
          },
          {
            "name": "http://www.apacheweek.com/features/security-13",
            "refsource": "CONFIRM",
            "url": "http://www.apacheweek.com/features/security-13"
          },
          {
            "name": "http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm",
            "refsource": "CONFIRM",
            "url": "http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm"
          },
          {
            "name": "MDKSA-2004:134",
            "refsource": "MANDRAKE",
            "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2004:134"
          },
          {
            "name": "apache-modinclude-bo(17785)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17785"
          },
          {
            "name": "11471",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/11471"
          },
          {
            "name": "RHSA-2005:816",
            "refsource": "REDHAT",
            "url": "http://www.redhat.com/support/errata/RHSA-2005-816.html"
          },
          {
            "name": "12898",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/12898/"
          },
          {
            "name": "DSA-594",
            "refsource": "DEBIAN",
            "url": "http://www.debian.org/security/2004/dsa-594"
          },
          {
            "name": "19073",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/19073"
          },
          {
            "name": "1011783",
            "refsource": "SECTRACK",
            "url": "http://securitytracker.com/id?1011783"
          },
          {
            "name": "RHSA-2004:600",
            "refsource": "REDHAT",
            "url": "http://www.redhat.com/support/errata/RHSA-2004-600.html"
          },
          {
            "name": "102197",
            "refsource": "SUNALERT",
            "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1"
          },
          {
            "name": "ADV-2006-0789",
            "refsource": "VUPEN",
            "url": "http://www.vupen.com/english/advisories/2006/0789"
          },
          {
            "name": "[httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/",
            "refsource": "MLIST",
            "url": "https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9@%3Ccvs.httpd.apache.org%3E"
          },
          {
            "name": "[httpd-cvs] 20210330 svn commit: r1073139 [3/13] - in /websites/staging/httpd/trunk/content: ./ security/json/",
            "refsource": "MLIST",
            "url": "https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab@%3Ccvs.httpd.apache.org%3E"
          },
          {
            "name": "[httpd-cvs] 20210330 svn commit: r1073140 [1/4] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html",
            "refsource": "MLIST",
            "url": "https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5@%3Ccvs.httpd.apache.org%3E"
          },
          {
            "name": "[httpd-cvs] 20210330 svn commit: r1888194 [3/13] - /httpd/site/trunk/content/security/json/",
            "refsource": "MLIST",
            "url": "https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3@%3Ccvs.httpd.apache.org%3E"
          },
          {
            "name": "[httpd-cvs] 20210330 svn commit: r1073149 [4/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/",
            "refsource": "MLIST",
            "url": "https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8@%3Ccvs.httpd.apache.org%3E"
          },
          {
            "name": "[httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/",
            "refsource": "MLIST",
            "url": "https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920@%3Ccvs.httpd.apache.org%3E"
          },
          {
            "name": "[httpd-cvs] 20210606 svn commit: r1075470 [1/4] - in /websites/staging/httpd/trunk/content: ./ security/json/CVE-2020-13938.json security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html",
            "refsource": "MLIST",
            "url": "https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e@%3Ccvs.httpd.apache.org%3E"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E48FC2F5-318B-4460-861D-80314B42F84B",
                    "versionEndIncluding": "1.3.32",
                    "versionStartIncluding": "1.3",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:openpkg:openpkg:2.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "48A4B336-2D5B-4D9B-AA87-E5266FED05BD",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:openpkg:openpkg:2.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "37042CDE-E4FE-442E-891A-CD84433D36E2",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:openpkg:openpkg:2.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "11F6E348-01DF-4FA4-808E-39A2A7A2B97B",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:hp:hp-ux:11.00:*:*:*:*:*:*:*",
                    "matchCriteriaId": "771931F7-9180-4EBD-8627-E1CF17D24647",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:hp:hp-ux:11.11:*:*:*:*:*:*:*",
                    "matchCriteriaId": "EDD9BE2B-7255-4FC1-B452-E8370632B03F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:hp:hp-ux:11.20:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6AB76FE0-BEF3-40D4-B362-0C95CA625A71",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:hp:hp-ux:11.22:*:*:*:*:*:*:*",
                    "matchCriteriaId": "EBD0DC0A-ACAD-4870-9C0F-3095F2AC8CCD",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:slackware:slackware_linux:8.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "78D76664-F4AC-470A-9686-3F708922A340",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:slackware:slackware_linux:8.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "57F41B40-75E6-45C8-A5FB-8464C0B2D064",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:slackware:slackware_linux:9.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "300A6A65-05FD-401C-80F6-B5F5B1F056E0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:slackware:slackware_linux:9.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "AA3D53C9-3806-45E6-8AE9-7D41280EF64C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:slackware:slackware_linux:10.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D29C5A03-A7C9-4780-BB63-CF1E874D018D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:slackware:slackware_linux:current:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B1CB2DD9-E77F-46EE-A145-F87AD10EA8E4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:suse:suse_linux:8.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "28CD54FE-D682-4063-B7C3-8B29B26B39AD",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:suse:suse_linux:8.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F8C55338-3372-413F-82E3-E1B476D6F41A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:suse:suse_linux:8.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1EFB33BF-F6A5-48C1-AEB5-194FCBCFC958",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:suse:suse_linux:9.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FB0E2D3B-B50A-46C2-BA1E-3E014DE91954",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:suse:suse_linux:9.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "CFABFCE5-4F86-4AE8-9849-BC360AC72098",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:suse:suse_linux:9.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "CFF36BC6-6CCD-4FEE-A120-5B8C4BF5620C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "39605B96-BAD6-45C9-BB9A-43D6E2C51ADD",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "descriptions": [
          {
            "lang": "en",
            "value": "Buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users who can create SSI documents to execute arbitrary code as the apache user via SSI (XSSI) documents that trigger a length calculation error."
          }
        ],
        "id": "CVE-2004-0940",
        "lastModified": "2024-02-02T03:05:26.170",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "MEDIUM",
                "accessVector": "LOCAL",
                "authentication": "NONE",
                "availabilityImpact": "COMPLETE",
                "baseScore": 6.9,
                "confidentialityImpact": "COMPLETE",
                "integrityImpact": "COMPLETE",
                "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C",
                "version": "2.0"
              },
              "exploitabilityScore": 3.4,
              "impactScore": 10.0,
              "obtainAllPrivilege": true,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2005-02-09T05:00:00.000",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=109906660225051\u0026w=2"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://secunia.com/advisories/12898/"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://secunia.com/advisories/19073"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link",
              "Third Party Advisory",
              "VDB Entry"
            ],
            "url": "http://securitytracker.com/id?1011783"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Product"
            ],
            "url": "http://www.apacheweek.com/features/security-13"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "http://www.debian.org/security/2004/dsa-594"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2004:134"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2004-600.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2005-816.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link",
              "Exploit",
              "Patch",
              "Third Party Advisory",
              "VDB Entry",
              "Vendor Advisory"
            ],
            "url": "http://www.securityfocus.com/bid/11471"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://www.vupen.com/english/advisories/2006/0789"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory",
              "VDB Entry"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17785"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Patch"
            ],
            "url": "https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Patch"
            ],
            "url": "https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Patch"
            ],
            "url": "https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Patch"
            ],
            "url": "https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Patch"
            ],
            "url": "https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Patch"
            ],
            "url": "https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Patch"
            ],
            "url": "https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vendorComments": [
          {
            "comment": "Fixed in Apache HTTP Server 1.3.33:\nhttp://httpd.apache.org/security/vulnerabilities_13.html",
            "lastModified": "2008-07-02T00:00:00",
            "organization": "Apache"
          }
        ],
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-131"
              }
            ],
            "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.