CVE-2006-3360: Phpsysinfo/phpsysinfo PhpSysInfo Allows Remote Attackers To Vulnerability
MODERATECVE-2006-3360 is a MODERATE phpsysinfo allows remote attackers to vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Phpsysinfo/phpsysinfo libraries in the Packagist ecosystem. The issue involves phpsysinfo allows remote attackers to determine the existence of arbitrary files via a .. (dot dot) sequence. Remediation is available by upgrading affected packages to version 3.2.5.
CVE-2006-3360 at a Glance
How to Fix CVE-2006-3360
To remediate this vulnerability, upgrade all affected Phpsysinfo/phpsysinfo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade phpsysinfo/phpsysinfo to 3.2.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phpsysinfo/phpsysinfo
How to Check if You Are Affected
To determine whether your application is affected by CVE-2006-3360, inspect your project dependencies for Phpsysinfo/phpsysinfo:
inspect dependencies for phpsysinfo/phpsysinfo
Analyze the terminal output to locate any version of Phpsysinfo/phpsysinfo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.5), 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 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Phpsysinfo/phpsysinfo, 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
CVE-2006-3360 Affected Phpsysinfo/phpsysinfo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpsysinfo/phpsysinfo
|
Packagist |
< 3.2.5
|
3.2.5
|
References
Frequently Asked Questions
What is CVE-2006-3360?
Which Phpsysinfo/phpsysinfo versions are affected?
What version fixes CVE-2006-3360?
Is phpsysinfo/phpsysinfo affected?
What CWE is associated with CVE-2006-3360?
How can I check Packagist dependencies for CVE-2006-3360?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2wxv-3g4v-p76p",
"modified" : "2023-03-30T20:57:08Z",
"published" : "2022-05-01T07:08:17Z",
"aliases" : [ "CVE-2006-3360" ],
"summary" : "phpSysInfo allows remote attackers to determine the existence of arbitrary files via a .. (dot dot) sequence",
"details" : "Directory traversal vulnerability in index.php in phpSysInfo prior to 3.2.5 allows remote attackers to determine the existence of arbitrary files via a .. (dot dot) sequence and a trailing null (%00) byte in the lng parameter, which will display a different error message if the file exists.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpsysinfo/phpsysinfo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-3360"
}, {
"type" : "WEB",
"url" : "https://github.com/phpsysinfo/phpsysinfo/issues/107"
}, {
"type" : "WEB",
"url" : "https://github.com/phpsysinfo/phpsysinfo/issues/368#issuecomment-1380842745"
}, {
"type" : "WEB",
"url" : "https://github.com/phpsysinfo/phpsysinfo/commit/60b5bbb5d1cc17f44050e99a3e746f55a4fd4e18"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/27527"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/phpsysinfo/phpsysinfo"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-03-30T20:57:08Z",
"nvd_published_at" : "2006-07-06T20:05:00Z"
}
}