CVE-2006-0868: PEAR Authentication Bypass Vulnerability

HIGH
Advisory Identifier: GHSA-76rh-xv36-9mrc
Published
Advisory Summary

CVE-2006-0868 is a HIGH authentication bypass vulnerability (General Security Weakness) affecting PEAR libraries in the Packagist ecosystem. The issue involves :auth potential authentication bypass vulnerability. Remediation is available by upgrading affected packages to version 1.2.4, 1.3.0r4.

CVE-2006-0868 at a Glance

CVE Identifier CVE-2006-0868
GHSA Identifier GHSA-76rh-xv36-9mrc
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product PEAR
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2006-0868

To remediate this vulnerability, upgrade all affected PEAR dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

pear/auth fixed: 1.2.4
Upgrade pear/auth to 1.2.4
pear/auth fixed: 1.3.0r4
Upgrade pear/auth to 1.3.0r4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for pear/auth

How to Check if You Are Affected

To determine whether your application is affected by CVE-2006-0868, inspect your project dependencies for PEAR:

inspect dependencies for pear/auth

Analyze the terminal output to locate any version of PEAR in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In PEAR, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Multiple unspecified injection vulnerabilities in unspecified Auth Container back ends for PEAR::Auth before 1.2.4, and 1.3.x before 1.3.0r4, allow remote attackers to "falsify authentication credentials," related to the "underlying storage containers."

CVE-2006-0868 Affected PEAR Versions

2 component(s)
Fixed Versions:
1.2.41.3.0r4
Product / Package Ecosystem Affected Versions Fixed Version
pear/auth
Packagist
< 1.2.4
1.2.4
pear/auth
Packagist
≥ 1.3.0r1
< 1.3.0r4
1.3.0r4

References

Frequently Asked Questions

What is CVE-2006-0868?
CVE-2006-0868 is a security vulnerability in PEAR involving :Auth potential authentication bypass vulnerability under General Security Weakness.
Which PEAR versions are affected?
Affected versions include releases prior to 1.2.4, 1.3.0r4 across affected packages: pear/auth.
What version fixes CVE-2006-0868?
Upgrading to 1.2.4, 1.3.0r4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pear/auth affected?
Yes, pear/auth is affected in releases prior to 1.2.4, 1.3.0r4. Upgrade your dependency to 1.2.4, 1.3.0r4 or later.
What CWE is associated with CVE-2006-0868?
CVE-2006-0868 is classified under General Security Weakness.
How can I check Packagist dependencies for CVE-2006-0868?
Run the dependency tree command: 'inspect dependencies for pear/auth'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-76rh-xv36-9mrc",
  "modified" : "2024-02-09T22:02:11Z",
  "published" : "2022-05-01T06:43:23Z",
  "aliases" : [ "CVE-2006-0868" ],
  "summary" : "PEAR::Auth potential authentication bypass vulnerability",
  "details" : "Multiple unspecified injection vulnerabilities in unspecified Auth Container back ends for PEAR::Auth before 1.2.4, and 1.3.x before 1.3.0r4, allow remote attackers to \"falsify authentication credentials,\" related to the \"underlying storage containers.\"",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "pear/auth"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "pear/auth"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.3.0r1"
      }, {
        "fixed" : "1.3.0r4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-0868"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/24854"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pear/Auth"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20060315074736/http://securitytracker.com/alerts/2006/Feb/1015666.html"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20060408105851/http://www.securityfocus.com/bid/16758"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201207144810/http://www.securityfocus.com/archive/1/425796/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://pear.php.net/package/Auth/download/1.2.4"
  }, {
    "type" : "WEB",
    "url" : "http://pear.php.net/package/Auth/download/1.3.0r4"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200603-13.xml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-09T22:02:11Z",
    "nvd_published_at" : "2006-02-23T23:02:00Z"
  }
}