{"api_version":"1","generated_at":"2026-07-23T14:19:01+00:00","cve":"CVE-2008-5989","urls":{"html":"https://cve.report/CVE-2008-5989","api":"https://cve.report/api/cve/CVE-2008-5989.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-5989","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-5989"},"summary":{"title":"CVE-2008-5989","description":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2009-01-28 15:30:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-22","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.8","severity":"","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://secunia.com/advisories/31993","name":"http://secunia.com/advisories/31993","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHPcounter Local File Inclusion and SQL Injection - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/31373","name":"http://www.securityfocus.com/bid/31373","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"PHPcounter 'defs.php' Local File Include Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45378","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45378","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/6553","name":"https://www.exploit-db.com/exploits/6553","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHPcounter 1.3.2 - 'defs.php' Local File Inclusion - PHP webapps Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5989","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5989","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"1.2.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"1.2.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"1.2.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"1.2.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"1.2.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"1.2.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"1.2.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"1.2.7","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"1.3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"1.3.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5989","vulnerable":"1","versionEndIncluding":"1.3.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpcounter","cpe5":"phpcounter","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T11:13:13.828Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"31373","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/31373"},{"name":"6553","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/6553"},{"name":"phpcounter-defs-file-include(45378)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45378"},{"name":"31993","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/31993"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-09-24T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-09-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"31373","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/31373"},{"name":"6553","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/6553"},{"name":"phpcounter-defs-file-include(45378)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45378"},{"name":"31993","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/31993"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-5989","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":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"31373","refsource":"BID","url":"http://www.securityfocus.com/bid/31373"},{"name":"6553","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/6553"},{"name":"phpcounter-defs-file-include(45378)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45378"},{"name":"31993","refsource":"SECUNIA","url":"http://secunia.com/advisories/31993"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-5989","datePublished":"2009-01-28T15:00:00.000Z","dateReserved":"2009-01-28T00:00:00.000Z","dateUpdated":"2024-08-07T11:13:13.828Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2009-01-28 15:30:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-22","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:*:*:*:*:*:*:*:*","versionEndIncluding":"1.3.2","matchCriteriaId":"9C240815-F205-4A58-A3A3-769B96F7B022"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:1.2.0:*:*:*:*:*:*:*","matchCriteriaId":"99DEE8B3-97EF-4ED2-B659-296B097314F5"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:1.2.1:*:*:*:*:*:*:*","matchCriteriaId":"35B01FA5-9AAC-4D05-A522-CCAFE0CF1C17"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:1.2.2:*:*:*:*:*:*:*","matchCriteriaId":"69F921D4-DCFD-4599-BBD4-07C832B7FF60"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:1.2.3:*:*:*:*:*:*:*","matchCriteriaId":"FA81D42E-90AF-49BD-AD6D-79AC4233B675"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:1.2.4:*:*:*:*:*:*:*","matchCriteriaId":"760B7941-500B-461B-B9E3-19ABA3485AD4"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:1.2.5:*:*:*:*:*:*:*","matchCriteriaId":"FA76DBFB-1DBF-4B4F-98BC-29E01443ECDF"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:1.2.6:*:*:*:*:*:*:*","matchCriteriaId":"ADF2CABA-A445-4E82-9D37-234D08D0D809"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:1.2.7:*:*:*:*:*:*:*","matchCriteriaId":"08A62F1D-2B8E-4A72-AD5D-60ED6FE9EB32"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:1.3.0:*:*:*:*:*:*:*","matchCriteriaId":"2F93A1B0-3048-4F0B-97D9-43B6F69D4CA6"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpcounter:phpcounter:1.3.1:*:*:*:*:*:*:*","matchCriteriaId":"172EF53D-312C-44FE-ADA0-375C90462BEC"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"5989","Ordinal":"1","Title":"CVE-2008-5989","CVE":"CVE-2008-5989","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"5989","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2008-5989"},{"CveYear":"2008","CveId":"5989","Ordinal":"2","NoteData":"2009-01-28","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"5989","Ordinal":"3","NoteData":"2017-09-28","Type":"Other","Title":"Modified"}]}}}