CVE-2008-5989

Status: ModifiedMedium (6.8)—Exploit
Severity6.8Medium · CVSS 2.0
Exploitation probability2.05 %higher than 81% of CVEs
Active exploitationNonot in the CISA catalog
Public exploitAvailablePublished on Exploit-DB

Directory traversal vulnerability in defs.php in PHPcounter 1.3.2 and earlier, when magic_quotes_gpc is disabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the l parameter.

CVSS

Base score
6.8
Version
2.0
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

Exploitation probability (EPSS)

Probability of exploitation in the next 30 days
2.05 %
Percentile among all scored CVEs
81
Score date
10/22/2026

EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).

Public exploits

Exploit code or detection templates are publicly available. This is not the same as confirmed active exploitation (KEV), but it raises the risk: patch with priority.

Affected technologies (1)

CWEs

References

Show 8 references

Raw JSON (NVD)

Show
{
  "id": "CVE-2008-5989",
  "cveTags": [],
  "metrics": {
    "cvssMetricV2": [
      {
        "type": "Primary",
        "source": "nvd@nist.gov",
        "cvssData": {
          "version": "2.0",
          "baseScore": 6.8,
          "accessVector": "NETWORK",
          "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "authentication": "NONE",
          "integrityImpact": "PARTIAL",
          "accessComplexity": "MEDIUM",
          "availabilityImpact": "PARTIAL",
          "confidentialityImpact": "PARTIAL"
        },
        "acInsufInfo": false,
        "impactScore": 6.4,
        "baseSeverity": "MEDIUM",
        "obtainAllPrivilege": false,
        "exploitabilityScore": 8.6,
        "obtainUserPrivilege": false,
        "obtainOtherPrivilege": false,
        "userInteractionRequired": false
      }
    ]
  },
  "affected": [
    {
      "source": "cve@mitre.org",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ]
    }
  ],
  "published": "2009-01-28T15:30:00.280",
  "references": [
    {
      "url": "http://secunia.com/advisories/31993",
      "tags": [
        "Vendor Advisory"
      ],
      "source": "cve@mitre.org"
    },
    {
      "url": "http://www.securityfocus.com/bid/31373",
      "tags": [
        "Exploit"
      ],
      "source": "cve@mitre.org"
    },
    {
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/45378",
      "source": "cve@mitre.org"
    },
    {
      "url": "https://www.exploit-db.com/exploits/6553",
      "source": "cve@mitre.org"
    },
    {
      "url": "http://secunia.com/advisories/31993",
      "tags": [
        "Vendor Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "http://www.securityfocus.com/bid/31373",
      "tags": [
        "Exploit"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/45378",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://www.exploit-db.com/exploits/6553",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ],
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "Directory traversal vulnerability in defs.php in PHPcounter 1.3.2 and earlier, when magic_quotes_gpc is disabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the l parameter."
    },
    {
      "lang": "es",
      "value": "Vulnerabilidad de salto de directorio en defs.php de PHPcounter v1.3.2 y anteriores, cuando está deshabilitado magic_quotes_gpc; permite a atacantes remotos incluir y ejecutar ficheros locales de su elección a través de un .. (punto punto) en el parámetro l."
    }
  ],
  "lastModified": "2026-06-16T23:01:22.013",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "9C240815-F205-4A58-A3A3-769B96F7B022",
              "versionEndIncluding": "1.3.2"
            },
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:1.2.0:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "99DEE8B3-97EF-4ED2-B659-296B097314F5"
            },
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:1.2.1:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "35B01FA5-9AAC-4D05-A522-CCAFE0CF1C17"
            },
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:1.2.2:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "69F921D4-DCFD-4599-BBD4-07C832B7FF60"
            },
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:1.2.3:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "FA81D42E-90AF-49BD-AD6D-79AC4233B675"
            },
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:1.2.4:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "760B7941-500B-461B-B9E3-19ABA3485AD4"
            },
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:1.2.5:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "FA76DBFB-1DBF-4B4F-98BC-29E01443ECDF"
            },
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:1.2.6:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "ADF2CABA-A445-4E82-9D37-234D08D0D809"
            },
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:1.2.7:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "08A62F1D-2B8E-4A72-AD5D-60ED6FE9EB32"
            },
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:1.3.0:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "2F93A1B0-3048-4F0B-97D9-43B6F69D4CA6"
            },
            {
              "criteria": "cpe:2.3:a:phpcounter:phpcounter:1.3.1:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "172EF53D-312C-44FE-ADA0-375C90462BEC"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "cve@mitre.org"
}