gsd-2004-0594
Vulnerability from gsd
Modified
2023-12-13 01:22
Details
The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain conditions such as when register_globals is enabled, allows remote attackers to execute arbitrary code by triggering a memory_limit abort during execution of the zend_hash_init function and overwriting a HashTable destructor pointer before the initialization of key data structures is complete.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2004-0594",
    "description": "The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain conditions such as when register_globals is enabled, allows remote attackers to execute arbitrary code by triggering a memory_limit abort during execution of the zend_hash_init function and overwriting a HashTable destructor pointer before the initialization of key data structures is complete.",
    "id": "GSD-2004-0594",
    "references": [
      "https://www.suse.com/security/cve/CVE-2004-0594.html",
      "https://www.debian.org/security/2005/dsa-669",
      "https://www.debian.org/security/2004/dsa-531",
      "https://access.redhat.com/errata/RHSA-2005:816",
      "https://access.redhat.com/errata/RHSA-2004:405",
      "https://access.redhat.com/errata/RHSA-2004:395",
      "https://access.redhat.com/errata/RHSA-2004:392",
      "https://packetstormsecurity.com/files/cve/CVE-2004-0594"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2004-0594"
      ],
      "details": "The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain conditions such as when register_globals is enabled, allows remote attackers to execute arbitrary code by triggering a memory_limit abort during execution of the zend_hash_init function and overwriting a HashTable destructor pointer before the initialization of key data structures is complete.",
      "id": "GSD-2004-0594",
      "modified": "2023-12-13T01:22:54.991625Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2004-0594",
        "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": "The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain conditions such as when register_globals is enabled, allows remote attackers to execute arbitrary code by triggering a memory_limit abort during execution of the zend_hash_init function and overwriting a HashTable destructor pointer before the initialization of key data structures is complete."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "2004-0039",
            "refsource": "TRUSTIX",
            "url": "http://www.trustix.org/errata/2004/0039/"
          },
          {
            "name": "20040714 Advisory 11/2004: PHP memory_limit remote vulnerability",
            "refsource": "FULLDISC",
            "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023908.html"
          },
          {
            "name": "CLA-2004:847",
            "refsource": "CONECTIVA",
            "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000847"
          },
          {
            "name": "20040714 TSSA-2004-013 - php",
            "refsource": "BUGTRAQ",
            "url": "http://marc.info/?l=bugtraq\u0026m=108982983426031\u0026w=2"
          },
          {
            "name": "DSA-669",
            "refsource": "DEBIAN",
            "url": "http://www.debian.org/security/2005/dsa-669"
          },
          {
            "name": "RHSA-2004:395",
            "refsource": "REDHAT",
            "url": "http://www.redhat.com/support/errata/RHSA-2004-395.html"
          },
          {
            "name": "RHSA-2004:405",
            "refsource": "REDHAT",
            "url": "http://www.redhat.com/support/errata/RHSA-2004-405.html"
          },
          {
            "name": "oval:org.mitre.oval:def:10896",
            "refsource": "OVAL",
            "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10896"
          },
          {
            "name": "RHSA-2004:392",
            "refsource": "REDHAT",
            "url": "http://www.redhat.com/support/errata/RHSA-2004-392.html"
          },
          {
            "name": "DSA-531",
            "refsource": "DEBIAN",
            "url": "http://www.debian.org/security/2004/dsa-531"
          },
          {
            "name": "SUSE-SA:2004:021",
            "refsource": "SUSE",
            "url": "http://www.novell.com/linux/security/advisories/2004_21_php4.html"
          },
          {
            "name": "MDKSA-2004:068",
            "refsource": "MANDRAKE",
            "url": "http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068"
          },
          {
            "name": "RHSA-2005:816",
            "refsource": "REDHAT",
            "url": "http://www.redhat.com/support/errata/RHSA-2005-816.html"
          },
          {
            "name": "SSRT4777",
            "refsource": "HP",
            "url": "http://marc.info/?l=bugtraq\u0026m=109181600614477\u0026w=2"
          },
          {
            "name": "php-memorylimit-code-execution(16693)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/16693"
          },
          {
            "name": "20040722 [OpenPKG-SA-2004.034] OpenPKG Security Advisory (php)",
            "refsource": "BUGTRAQ",
            "url": "http://marc.info/?l=bugtraq\u0026m=109051444105182\u0026w=2"
          },
          {
            "name": "10725",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/10725"
          },
          {
            "name": "20040713 Advisory 11/2004: PHP memory_limit remote vulnerability",
            "refsource": "BUGTRAQ",
            "url": "http://marc.info/?l=bugtraq\u0026m=108981780109154\u0026w=2"
          },
          {
            "name": "GLSA-200407-13",
            "refsource": "GENTOO",
            "url": "http://www.gentoo.org/security/en/glsa/glsa-200407-13.xml"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "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:h:avaya:converged_communications_server:2.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E586558A-ABC3-42EB-8B4D-DC92A0D695E6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:debian:debian_linux:3.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2CAE037F-111C-4A76-8FFE-716B74D65EF3",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:hp:hp-ux:b.11.00:*:*:*:*:*:*:*",
                    "matchCriteriaId": "54C09E05-4FAA-4893-BF36-9DD967525C4E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:hp:hp-ux:b.11.11:*:*:*:*:*:*:*",
                    "matchCriteriaId": "972D4ABF-2E80-4902-910D-5BD0CBEC9765",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:hp:hp-ux:b.11.22:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DE7425AE-26A6-48A4-B883-C6220FCAC32B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:hp:hp-ux:b.11.23:*:*:*:*:*:*:*",
                    "matchCriteriaId": "12C73959-3E02-4847-8962-651D652800EE",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "39605B96-BAD6-45C9-BB9A-43D6E2C51ADD",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:trustix:secure_linux:2.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "53AF1A2D-B0A2-4097-AD1D-DF3AF27171BA",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:trustix:secure_linux:2.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A67735E5-E43E-4164-BDB2-ADC6E0288E9F",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "04AA8CFD-CEAD-455C-A96A-E1FE87196C86",
                    "versionEndExcluding": "4.3.7",
                    "versionStartIncluding": "4.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:*",
                    "matchCriteriaId": "E727CECE-E452-489A-A42F-5A069D6AF80E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:*",
                    "matchCriteriaId": "149A1FB8-593E-412B-8E1C-3E560301D500",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:*",
                    "matchCriteriaId": "5D6E8982-D7AE-4A52-8F7C-A4D59D2A2CA4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:*",
                    "matchCriteriaId": "8FC144FA-8F84-44C0-B263-B639FEAD20FB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "295907B4-C3DE-4021-BE3B-A8826D4379E6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:*",
                    "matchCriteriaId": "DBC98F82-6E1D-4A89-8ED4-ECD9BD954EB4",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "descriptions": [
          {
            "lang": "en",
            "value": "The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain conditions such as when register_globals is enabled, allows remote attackers to execute arbitrary code by triggering a memory_limit abort during execution of the zend_hash_init function and overwriting a HashTable destructor pointer before the initialization of key data structures is complete."
          },
          {
            "lang": "es",
            "value": "La funcionalidad memory_limit de PHP 4.x a 4.3.7 y 5.x a 5.0.0RC3, bajo ciertas condiciones, como cuando register_globals est\u00e1 habilitado, permite a atacantes remotos ejecutar c\u00f3digo de su elecci\u00f3n disparando un aborto por memory_limit de la funci\u00f3n zend_hash_init y sobrescribiendo un puntero de destructor de HashTable antes de que la incializaci\u00f3n de las estructuras de datos clave se haya completado."
          }
        ],
        "id": "CVE-2004-0594",
        "lastModified": "2024-02-15T21:17:59.723",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "HIGH",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "PARTIAL",
                "baseScore": 5.1,
                "confidentialityImpact": "PARTIAL",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:P",
                "version": "2.0"
              },
              "exploitabilityScore": 4.9,
              "impactScore": 6.4,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": true,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ]
        },
        "published": "2004-07-27T04:00:00.000",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000847"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link",
              "URL Repurposed"
            ],
            "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023908.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=108981780109154\u0026w=2"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=108982983426031\u0026w=2"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=109051444105182\u0026w=2"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=109181600614477\u0026w=2"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://www.debian.org/security/2004/dsa-531"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List"
            ],
            "url": "http://www.debian.org/security/2005/dsa-669"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "http://www.gentoo.org/security/en/glsa/glsa-200407-13.xml"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://www.novell.com/linux/security/advisories/2004_21_php4.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2004-392.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2004-395.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2004-405.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",
              "Third Party Advisory",
              "VDB Entry"
            ],
            "url": "http://www.securityfocus.com/bid/10725"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "http://www.trustix.org/errata/2004/0039/"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory",
              "VDB Entry"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/16693"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Broken Link"
            ],
            "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10896"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-367"
              }
            ],
            "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.