GSD-2007-3997

Vulnerability from gsd - Updated: 2023-12-13 01:21
Details
The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2007-3997",
    "description": "The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE.",
    "id": "GSD-2007-3997",
    "references": [
      "https://www.suse.com/security/cve/CVE-2007-3997.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2007-3997"
      ],
      "details": "The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE.",
      "id": "GSD-2007-3997",
      "modified": "2023-12-13T01:21:42.275883Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2007-3997",
        "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 (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "php-localinfile-mysql-security-bypass(39402)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/39402"
          },
          {
            "name": "26822",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/26822"
          },
          {
            "name": "ADV-2008-0059",
            "refsource": "VUPEN",
            "url": "http://www.vupen.com/english/advisories/2008/0059"
          },
          {
            "name": "GLSA-200710-02",
            "refsource": "GENTOO",
            "url": "http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml"
          },
          {
            "name": "http://www.php.net/releases/4_4_8.php",
            "refsource": "CONFIRM",
            "url": "http://www.php.net/releases/4_4_8.php"
          },
          {
            "name": "http://www.php.net/ChangeLog-5.php#5.2.4",
            "refsource": "CONFIRM",
            "url": "http://www.php.net/ChangeLog-5.php#5.2.4"
          },
          {
            "name": "2007-0026",
            "refsource": "TRUSTIX",
            "url": "http://www.trustix.org/errata/2007/0026/"
          },
          {
            "name": "https://issues.rpath.com/browse/RPL-1693",
            "refsource": "CONFIRM",
            "url": "https://issues.rpath.com/browse/RPL-1693"
          },
          {
            "name": "3102",
            "refsource": "SREASON",
            "url": "http://securityreason.com/securityalert/3102"
          },
          {
            "name": "http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/",
            "refsource": "MISC",
            "url": "http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/"
          },
          {
            "name": "https://issues.rpath.com/browse/RPL-1702",
            "refsource": "CONFIRM",
            "url": "https://issues.rpath.com/browse/RPL-1702"
          },
          {
            "name": "26838",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/26838"
          },
          {
            "name": "php-local-infile-security-bypass(36384)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36384"
          },
          {
            "name": "27377",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27377"
          },
          {
            "name": "4392",
            "refsource": "EXPLOIT-DB",
            "url": "https://www.exploit-db.com/exploits/4392"
          },
          {
            "name": "http://www.php.net/ChangeLog-4.php",
            "refsource": "CONFIRM",
            "url": "http://www.php.net/ChangeLog-4.php"
          },
          {
            "name": "27102",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27102"
          },
          {
            "name": "ADV-2007-3023",
            "refsource": "VUPEN",
            "url": "http://www.vupen.com/english/advisories/2007/3023"
          },
          {
            "name": "http://www.php.net/releases/5_2_4.php",
            "refsource": "CONFIRM",
            "url": "http://www.php.net/releases/5_2_4.php"
          },
          {
            "name": "28318",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/28318"
          },
          {
            "name": "26642",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/26642"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "4.4.8",
                "versionStartIncluding": "4.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "5.2.4",
                "versionStartIncluding": "5.0.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2007-3997"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-264"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/"
            },
            {
              "name": "http://www.php.net/ChangeLog-5.php#5.2.4",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://www.php.net/ChangeLog-5.php#5.2.4"
            },
            {
              "name": "http://www.php.net/releases/5_2_4.php",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://www.php.net/releases/5_2_4.php"
            },
            {
              "name": "26642",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/26642"
            },
            {
              "name": "https://issues.rpath.com/browse/RPL-1702",
              "refsource": "CONFIRM",
              "tags": [
                "Broken Link"
              ],
              "url": "https://issues.rpath.com/browse/RPL-1702"
            },
            {
              "name": "https://issues.rpath.com/browse/RPL-1693",
              "refsource": "CONFIRM",
              "tags": [
                "Broken Link"
              ],
              "url": "https://issues.rpath.com/browse/RPL-1693"
            },
            {
              "name": "GLSA-200710-02",
              "refsource": "GENTOO",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml"
            },
            {
              "name": "2007-0026",
              "refsource": "TRUSTIX",
              "tags": [
                "Broken Link"
              ],
              "url": "http://www.trustix.org/errata/2007/0026/"
            },
            {
              "name": "26822",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/26822"
            },
            {
              "name": "26838",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/26838"
            },
            {
              "name": "27377",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/27377"
            },
            {
              "name": "27102",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/27102"
            },
            {
              "name": "3102",
              "refsource": "SREASON",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "http://securityreason.com/securityalert/3102"
            },
            {
              "name": "http://www.php.net/ChangeLog-4.php",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://www.php.net/ChangeLog-4.php"
            },
            {
              "name": "http://www.php.net/releases/4_4_8.php",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://www.php.net/releases/4_4_8.php"
            },
            {
              "name": "28318",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/28318"
            },
            {
              "name": "ADV-2008-0059",
              "refsource": "VUPEN",
              "tags": [
                "Permissions Required",
                "Third Party Advisory"
              ],
              "url": "http://www.vupen.com/english/advisories/2008/0059"
            },
            {
              "name": "ADV-2007-3023",
              "refsource": "VUPEN",
              "tags": [
                "Permissions Required",
                "Third Party Advisory"
              ],
              "url": "http://www.vupen.com/english/advisories/2007/3023"
            },
            {
              "name": "php-localinfile-mysql-security-bypass(39402)",
              "refsource": "XF",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/39402"
            },
            {
              "name": "php-local-infile-security-bypass(36384)",
              "refsource": "XF",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36384"
            },
            {
              "name": "4392",
              "refsource": "EXPLOIT-DB",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "https://www.exploit-db.com/exploits/4392"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 7.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "HIGH",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2018-10-26T13:59Z",
      "publishedDate": "2007-09-04T18:17Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…