gsd-2007-3378
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
The (1) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and PHP 5 5.2.3 and earlier, when invoked from a .htaccess file, allow remote attackers to bypass safe_mode and open_basedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) php_value, (b) php_flag, and (c) directives in .htaccess.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2007-3378",
    "description": "The (1) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and PHP 5 5.2.3 and earlier, when invoked from a .htaccess file, allow remote attackers to bypass safe_mode and open_basedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) php_value, (b) php_flag, and (c) directives in .htaccess.",
    "id": "GSD-2007-3378",
    "references": [
      "https://www.suse.com/security/cve/CVE-2007-3378.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2007-3378"
      ],
      "details": "The (1) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and PHP 5 5.2.3 and earlier, when invoked from a .htaccess file, allow remote attackers to bypass safe_mode and open_basedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) php_value, (b) php_flag, and (c) directives in .htaccess.",
      "id": "GSD-2007-3378",
      "modified": "2023-12-13T01:21:41.572097Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2007-3378",
        "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) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and PHP 5 5.2.3 and earlier, when invoked from a .htaccess file, allow remote attackers to bypass safe_mode and open_basedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) php_value, (b) php_flag, and (c) directives in .htaccess."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "2831",
            "refsource": "SREASON",
            "url": "http://securityreason.com/securityalert/2831"
          },
          {
            "name": "http://www.php.net/ChangeLog-5.php#5.2.5",
            "refsource": "CONFIRM",
            "url": "http://www.php.net/ChangeLog-5.php#5.2.5"
          },
          {
            "name": "26822",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/26822"
          },
          {
            "name": "28750",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/28750"
          },
          {
            "name": "ADV-2008-0059",
            "refsource": "VUPEN",
            "url": "http://www.vupen.com/english/advisories/2008/0059"
          },
          {
            "name": "php-sessionsavepath-errorlog-security-bypass(39403)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/39403"
          },
          {
            "name": "GLSA-200710-02",
            "refsource": "GENTOO",
            "url": "http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml"
          },
          {
            "name": "ADV-2008-0924",
            "refsource": "VUPEN",
            "url": "http://www.vupen.com/english/advisories/2008/0924/references"
          },
          {
            "name": "http://securityreason.com/achievement_exploitalert/9",
            "refsource": "MISC",
            "url": "http://securityreason.com/achievement_exploitalert/9"
          },
          {
            "name": "http://www.php.net/releases/4_4_8.php",
            "refsource": "CONFIRM",
            "url": "http://www.php.net/releases/4_4_8.php"
          },
          {
            "name": "SSA:2008-045-03",
            "refsource": "SLACKWARE",
            "url": "http://slackware.com/security/viewer.php?l=slackware-security\u0026y=2008\u0026m=slackware-security.335136"
          },
          {
            "name": "30040",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/30040"
          },
          {
            "name": "ADV-2008-0398",
            "refsource": "VUPEN",
            "url": "http://www.vupen.com/english/advisories/2008/0398"
          },
          {
            "name": "http://www.php.net/releases/5_2_5.php",
            "refsource": "CONFIRM",
            "url": "http://www.php.net/releases/5_2_5.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": "28936",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/28936"
          },
          {
            "name": "2007-0026",
            "refsource": "TRUSTIX",
            "url": "http://www.trustix.org/errata/2007/0026/"
          },
          {
            "name": "29420",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/29420"
          },
          {
            "name": "APPLE-SA-2008-03-18",
            "refsource": "APPLE",
            "url": "http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html"
          },
          {
            "name": "https://issues.rpath.com/browse/RPL-1693",
            "refsource": "CONFIRM",
            "url": "https://issues.rpath.com/browse/RPL-1693"
          },
          {
            "name": "SSRT080056",
            "refsource": "HP",
            "url": "http://www.securityfocus.com/archive/1/491693/100/0/threaded"
          },
          {
            "name": "3389",
            "refsource": "SREASON",
            "url": "http://securityreason.com/securityalert/3389"
          },
          {
            "name": "27648",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27648"
          },
          {
            "name": "20070627 PHP 5.2.3 PHP 4.4.7, htaccess safemode and open_basedir Bypass",
            "refsource": "SREASONRES",
            "url": "http://securityreason.com/achievement_securityalert/45"
          },
          {
            "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": "27377",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27377"
          },
          {
            "name": "20070627 PHP 4/5 htaccess safemode and open_basedir Bypass",
            "refsource": "BUGTRAQ",
            "url": "http://www.securityfocus.com/archive/1/472343/100/0/threaded"
          },
          {
            "name": "HPSBUX02332",
            "refsource": "HP",
            "url": "http://www.securityfocus.com/archive/1/491693/100/0/threaded"
          },
          {
            "name": "php-htaccess-security-bypass(35102)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/35102"
          },
          {
            "name": "http://docs.info.apple.com/article.html?artnum=307562",
            "refsource": "CONFIRM",
            "url": "http://docs.info.apple.com/article.html?artnum=307562"
          },
          {
            "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": "SSRT080010",
            "refsource": "HP",
            "url": "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501"
          },
          {
            "name": "28318",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/28318"
          },
          {
            "name": "HPSBUX02308",
            "refsource": "HP",
            "url": "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501"
          },
          {
            "name": "25498",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/25498"
          },
          {
            "name": "oval:org.mitre.oval:def:6056",
            "refsource": "OVAL",
            "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056"
          },
          {
            "name": "26642",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/26642"
          },
          {
            "name": "24661",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/24661"
          },
          {
            "name": "38682",
            "refsource": "OSVDB",
            "url": "http://www.osvdb.org/38682"
          },
          {
            "name": "[oss-security] 20200917 Apache + PHP \u003c= 7.4.10 open_basedir bypass",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2020/09/17/3"
          },
          {
            "name": "20200918 Apache + PHP \u003c= 7.4.10 open_basedir bypass",
            "refsource": "FULLDISC",
            "url": "http://seclists.org/fulldisclosure/2020/Sep/34"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "4.4.7",
                "versionStartIncluding": "4.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "5.2.3",
                "versionStartIncluding": "5.0.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2007-3378"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The (1) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and PHP 5 5.2.3 and earlier, when invoked from a .htaccess file, allow remote attackers to bypass safe_mode and open_basedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) php_value, (b) php_flag, and (c) directives in .htaccess."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-264"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://securityreason.com/achievement_exploitalert/9",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://securityreason.com/achievement_exploitalert/9"
            },
            {
              "name": "20070627 PHP 5.2.3 PHP 4.4.7, htaccess safemode and open_basedir Bypass",
              "refsource": "SREASONRES",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "http://securityreason.com/achievement_securityalert/45"
            },
            {
              "name": "24661",
              "refsource": "BID",
              "tags": [
                "Patch",
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/bid/24661"
            },
            {
              "name": "http://www.php.net/ChangeLog-5.php#5.2.4",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "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": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "http://www.php.net/releases/5_2_4.php"
            },
            {
              "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": "http://www.php.net/ChangeLog-5.php#5.2.5",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "http://www.php.net/ChangeLog-5.php#5.2.5"
            },
            {
              "name": "http://www.php.net/releases/5_2_5.php",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "http://www.php.net/releases/5_2_5.php"
            },
            {
              "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": "25498",
              "refsource": "BID",
              "tags": [
                "Patch",
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/bid/25498"
            },
            {
              "name": "38682",
              "refsource": "OSVDB",
              "tags": [
                "Broken Link"
              ],
              "url": "http://www.osvdb.org/38682"
            },
            {
              "name": "26642",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/26642"
            },
            {
              "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": "27648",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/27648"
            },
            {
              "name": "2831",
              "refsource": "SREASON",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "http://securityreason.com/securityalert/2831"
            },
            {
              "name": "3389",
              "refsource": "SREASON",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "http://securityreason.com/securityalert/3389"
            },
            {
              "name": "http://www.php.net/ChangeLog-4.php",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "http://www.php.net/ChangeLog-4.php"
            },
            {
              "name": "http://www.php.net/releases/4_4_8.php",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "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": "28750",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/28750"
            },
            {
              "name": "SSA:2008-045-03",
              "refsource": "SLACKWARE",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://slackware.com/security/viewer.php?l=slackware-security\u0026y=2008\u0026m=slackware-security.335136"
            },
            {
              "name": "28936",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/28936"
            },
            {
              "name": "http://docs.info.apple.com/article.html?artnum=307562",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://docs.info.apple.com/article.html?artnum=307562"
            },
            {
              "name": "APPLE-SA-2008-03-18",
              "refsource": "APPLE",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html"
            },
            {
              "name": "29420",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/29420"
            },
            {
              "name": "30040",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/30040"
            },
            {
              "name": "SSRT080010",
              "refsource": "HP",
              "tags": [
                "Broken Link"
              ],
              "url": "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501"
            },
            {
              "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": "ADV-2008-0924",
              "refsource": "VUPEN",
              "tags": [
                "Permissions Required",
                "Third Party Advisory"
              ],
              "url": "http://www.vupen.com/english/advisories/2008/0924/references"
            },
            {
              "name": "ADV-2008-0398",
              "refsource": "VUPEN",
              "tags": [
                "Permissions Required",
                "Third Party Advisory"
              ],
              "url": "http://www.vupen.com/english/advisories/2008/0398"
            },
            {
              "name": "php-sessionsavepath-errorlog-security-bypass(39403)",
              "refsource": "XF",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/39403"
            },
            {
              "name": "php-htaccess-security-bypass(35102)",
              "refsource": "XF",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/35102"
            },
            {
              "name": "oval:org.mitre.oval:def:6056",
              "refsource": "OVAL",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056"
            },
            {
              "name": "SSRT080056",
              "refsource": "HP",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/archive/1/491693/100/0/threaded"
            },
            {
              "name": "20070627 PHP 4/5 htaccess safemode and open_basedir Bypass",
              "refsource": "BUGTRAQ",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/archive/1/472343/100/0/threaded"
            },
            {
              "name": "[oss-security] 20200917 Apache + PHP \u003c= 7.4.10 open_basedir bypass",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2020/09/17/3"
            },
            {
              "name": "20200918 Apache + PHP \u003c= 7.4.10 open_basedir bypass",
              "refsource": "FULLDISC",
              "tags": [],
              "url": "http://seclists.org/fulldisclosure/2020/Sep/34"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.8,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": true,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2020-09-18T19:15Z",
      "publishedDate": "2007-06-29T18:30Z"
    }
  }
}


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.