CVE-2002-0229
Vulnerability from cvelistv5
Published
2002-05-03 04:00
Modified
2024-08-08 02:42
Severity ?
Summary
Safe Mode feature (safe_mode) in PHP 3.0 through 4.1.0 allows attackers with access to the MySQL database to bypass Safe Mode access restrictions and read arbitrary files using "LOAD DATA INFILE LOCAL" SQL statements.
Impacted products
n/an/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-08T02:42:28.924Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "20020206 DW020203-PHP clarification",
            "tags": [
              "mailing-list",
              "x_refsource_NTBUGTRAQ",
              "x_transferred"
            ],
            "url": "http://marc.info/?l=ntbugtraq\u0026m=101303819613337\u0026w=2"
          },
          {
            "name": "20020205 Re: PHP Safe Mode Filesystem Circumvention Problem",
            "tags": [
              "mailing-list",
              "x_refsource_NTBUGTRAQ",
              "x_transferred"
            ],
            "url": "http://marc.info/?l=ntbugtraq\u0026m=101303065423534\u0026w=2"
          },
          {
            "name": "20020206 DW020203-PHP clarification",
            "tags": [
              "mailing-list",
              "x_refsource_BUGTRAQ",
              "x_transferred"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=101304702002321\u0026w=2"
          },
          {
            "name": "20020203 PHP Safe Mode Filesystem Circumvention Problem",
            "tags": [
              "mailing-list",
              "x_refsource_BUGTRAQ",
              "x_transferred"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=101286577109716\u0026w=2"
          },
          {
            "name": "20020203 PHP Safe Mode Filesystem Circumvention Problem",
            "tags": [
              "mailing-list",
              "x_refsource_NTBUGTRAQ",
              "x_transferred"
            ],
            "url": "http://marc.info/?l=ntbugtraq\u0026m=101285016125377\u0026w=2"
          },
          {
            "name": "php-mysql-safemode-bypass(8105)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "http://www.iss.net/security_center/static/8105.php"
          },
          {
            "name": "4026",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/4026"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2002-02-03T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "Safe Mode feature (safe_mode) in PHP 3.0 through 4.1.0 allows attackers with access to the MySQL database to bypass Safe Mode access restrictions and read arbitrary files using \"LOAD DATA INFILE LOCAL\" SQL statements."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2016-10-17T13:57:01",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "name": "20020206 DW020203-PHP clarification",
          "tags": [
            "mailing-list",
            "x_refsource_NTBUGTRAQ"
          ],
          "url": "http://marc.info/?l=ntbugtraq\u0026m=101303819613337\u0026w=2"
        },
        {
          "name": "20020205 Re: PHP Safe Mode Filesystem Circumvention Problem",
          "tags": [
            "mailing-list",
            "x_refsource_NTBUGTRAQ"
          ],
          "url": "http://marc.info/?l=ntbugtraq\u0026m=101303065423534\u0026w=2"
        },
        {
          "name": "20020206 DW020203-PHP clarification",
          "tags": [
            "mailing-list",
            "x_refsource_BUGTRAQ"
          ],
          "url": "http://marc.info/?l=bugtraq\u0026m=101304702002321\u0026w=2"
        },
        {
          "name": "20020203 PHP Safe Mode Filesystem Circumvention Problem",
          "tags": [
            "mailing-list",
            "x_refsource_BUGTRAQ"
          ],
          "url": "http://marc.info/?l=bugtraq\u0026m=101286577109716\u0026w=2"
        },
        {
          "name": "20020203 PHP Safe Mode Filesystem Circumvention Problem",
          "tags": [
            "mailing-list",
            "x_refsource_NTBUGTRAQ"
          ],
          "url": "http://marc.info/?l=ntbugtraq\u0026m=101285016125377\u0026w=2"
        },
        {
          "name": "php-mysql-safemode-bypass(8105)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "http://www.iss.net/security_center/static/8105.php"
        },
        {
          "name": "4026",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/4026"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2002-0229",
          "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": "Safe Mode feature (safe_mode) in PHP 3.0 through 4.1.0 allows attackers with access to the MySQL database to bypass Safe Mode access restrictions and read arbitrary files using \"LOAD DATA INFILE LOCAL\" SQL statements."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "20020206 DW020203-PHP clarification",
              "refsource": "NTBUGTRAQ",
              "url": "http://marc.info/?l=ntbugtraq\u0026m=101303819613337\u0026w=2"
            },
            {
              "name": "20020205 Re: PHP Safe Mode Filesystem Circumvention Problem",
              "refsource": "NTBUGTRAQ",
              "url": "http://marc.info/?l=ntbugtraq\u0026m=101303065423534\u0026w=2"
            },
            {
              "name": "20020206 DW020203-PHP clarification",
              "refsource": "BUGTRAQ",
              "url": "http://marc.info/?l=bugtraq\u0026m=101304702002321\u0026w=2"
            },
            {
              "name": "20020203 PHP Safe Mode Filesystem Circumvention Problem",
              "refsource": "BUGTRAQ",
              "url": "http://marc.info/?l=bugtraq\u0026m=101286577109716\u0026w=2"
            },
            {
              "name": "20020203 PHP Safe Mode Filesystem Circumvention Problem",
              "refsource": "NTBUGTRAQ",
              "url": "http://marc.info/?l=ntbugtraq\u0026m=101285016125377\u0026w=2"
            },
            {
              "name": "php-mysql-safemode-bypass(8105)",
              "refsource": "XF",
              "url": "http://www.iss.net/security_center/static/8105.php"
            },
            {
              "name": "4026",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/4026"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2002-0229",
    "datePublished": "2002-05-03T04:00:00",
    "dateReserved": "2002-05-01T00:00:00",
    "dateUpdated": "2024-08-08T02:42:28.924Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2002-0229\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2002-05-16T04:00:00.000\",\"lastModified\":\"2016-10-18T02:17:15.713\",\"vulnStatus\":\"Modified\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"Safe Mode feature (safe_mode) in PHP 3.0 through 4.1.0 allows attackers with access to the MySQL database to bypass Safe Mode access restrictions and read arbitrary files using \\\"LOAD DATA INFILE LOCAL\\\" SQL statements.\"},{\"lang\":\"es\",\"value\":\"La caracter\u00edstica de Modo Seguro (safe_mode) de PHP 3.0 a 4.1.0 permite a atacantes con acceso a la base de datos MySQL evadir las restricciones del Modo Seguro y leer ficheros arbitrarios usando sentencias SQL \\\"LOAD DATA INFILE LOCAL\\\".\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:P/A:P\",\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\",\"baseScore\":7.5},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"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:php:php:3.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"245C601D-0FE7-47E3-8304-6FF45E9567D6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"691BB8BB-329A-4640-B758-7590C99B5E42\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"E2BC4CCE-2774-463E-82EA-36CD442D3A7B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C478024C-2FCD-463F-A75E-E04660AA9DF1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"AC9C32F4-5102-4E9B-9F32-B24B65A5ED2F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A5BD99C0-E875-496E-BE5E-A8DCBD414B5C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"1851ADE5-C70C-46E0-941A-6ADF7DB5C126\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"69DA3BA2-AF53-4C9D-93FA-0317841595B1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.8:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"FB0CFEE5-2274-4BBC-A24A-3A0D13F607FA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.9:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"67B59D6A-7EDA-4C34-81D6-C2557C85D164\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.10:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"AEBA40B6-8FDF-41AA-8166-F491FF7F3118\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.11:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"E74E2B72-A428-4BB3-B6F8-0AF5E487A807\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.12:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"1E2F1D82-8E6A-4FBF-9055-A0F395DC17FA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.13:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"945FF149-3446-4905-BCA1-C397E3497B58\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:3.0.16:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"80E31CC6-9356-4BB7-9F49-320AAF341E1E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"EDBEC461-D553-41B7-8D85-20B6A933C21C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"78BAA18C-E5A0-4210-B64B-709BBFF31EEC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:*\",\"matchCriteriaId\":\"37896E87-95C2-4039-8362-BC03B1C56706\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"57B59616-A309-40B4-94B1-50A7BC00E35C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0F39A1B1-416E-4436-8007-733B66904A14\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"DD5FC218-3DDB-4981-81C9-6C69F8DA6F4D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"FC2E5F96-66D2-4F99-A74D-6A2305EE218E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6713614A-B14E-4A85-BF89-ED780068FC68\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"069EB7EE-06B9-454F-9007-8DE5DCA33C53\"}]}]}],\"references\":[{\"url\":\"http://marc.info/?l=bugtraq\u0026m=101286577109716\u0026w=2\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://marc.info/?l=bugtraq\u0026m=101304702002321\u0026w=2\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://marc.info/?l=ntbugtraq\u0026m=101285016125377\u0026w=2\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://marc.info/?l=ntbugtraq\u0026m=101303065423534\u0026w=2\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://marc.info/?l=ntbugtraq\u0026m=101303819613337\u0026w=2\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.iss.net/security_center/static/8105.php\",\"source\":\"cve@mitre.org\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"http://www.securityfocus.com/bid/4026\",\"source\":\"cve@mitre.org\"}]}}"
  }
}


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.