CVE-2004-2640
Status: ModifiedMedium (5)—Exploit
Severity5Medium · CVSS 2.0
Exploitation probability8.12 %higher than 95% of CVEs
Active exploitationNonot in the CISA catalog
Public exploitAvailablePublished on Exploit-DB
Directory traversal vulnerability in lstat.cgi in LinuxStat before 2.3.1 allows remote attackers to read arbitrary files via (1) .. (dot dot) sequences or (2) absolute paths to the template parameter.
CVSS
- Base score
- 5
- Version
- 2.0
- Vector
- AV:N/AC:L/Au:N/C:P/I:N/A:N
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days
- 8.12 %
- Percentile among all scored CVEs
- 95
- Score date
- 10/23/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.
- Published on Exploit-DB · LinuxStat 2.x - Directory Traversal (10/25/2004)
Affected technologies (1)
⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.
CWEs
- NVD-CWE-Other
References
Show 12 references
- http://secunia.com/advisories/12963
- http://securitytracker.com/id?1011920
- http://sourceforge.net/project/shownotes.php?release_id=277371
- http://www.osvdb.org/11103
- http://www.securityfocus.com/bid/11517
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17833
- http://secunia.com/advisories/12963
- http://securitytracker.com/id?1011920
- http://sourceforge.net/project/shownotes.php?release_id=277371
- http://www.osvdb.org/11103
- http://www.securityfocus.com/bid/11517
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17833
Raw JSON (NVD)
Show
{
"id": "CVE-2004-2640",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"authentication": "NONE",
"integrityImpact": "NONE",
"accessComplexity": "LOW",
"availabilityImpact": "NONE",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 2.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 10,
"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": "2004-12-31T05:00:00.000",
"references": [
{
"url": "http://secunia.com/advisories/12963",
"tags": [
"Patch",
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://securitytracker.com/id?1011920",
"tags": [
"Exploit"
],
"source": "cve@mitre.org"
},
{
"url": "http://sourceforge.net/project/shownotes.php?release_id=277371",
"source": "cve@mitre.org"
},
{
"url": "http://www.osvdb.org/11103",
"tags": [
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/bid/11517",
"tags": [
"Exploit",
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17833",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/12963",
"tags": [
"Patch",
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://securitytracker.com/id?1011920",
"tags": [
"Exploit"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://sourceforge.net/project/shownotes.php?release_id=277371",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.osvdb.org/11103",
"tags": [
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/11517",
"tags": [
"Exploit",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17833",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Directory traversal vulnerability in lstat.cgi in LinuxStat before 2.3.1 allows remote attackers to read arbitrary files via (1) .. (dot dot) sequences or (2) absolute paths to the template parameter."
}
],
"lastModified": "2026-06-16T22:10:02.157",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:ryszard_pydo:linuxstat:0.90:*:*:*:*:*:*:*",
"vulnerable": false,
"matchCriteriaId": "CA0BEDE0-7457-4CFC-BE15-41666E3FC7DD"
},
{
"criteria": "cpe:2.3:a:ryszard_pydo:linuxstat:0.94:*:*:*:*:*:*:*",
"vulnerable": false,
"matchCriteriaId": "43D570A0-2B02-450A-9CBA-CC092907F507"
},
{
"criteria": "cpe:2.3:a:ryszard_pydo:linuxstat:2.0:*:*:*:*:*:*:*",
"vulnerable": false,
"matchCriteriaId": "B08472E7-A49A-47C6-869E-73B93D279AE7"
},
{
"criteria": "cpe:2.3:a:ryszard_pydo:linuxstat:2.0_beta:*:*:*:*:*:*:*",
"vulnerable": false,
"matchCriteriaId": "45DAD623-D766-4DD4-8AEC-0F82888F51F3"
},
{
"criteria": "cpe:2.3:a:ryszard_pydo:linuxstat:2.0_beta2:*:*:*:*:*:*:*",
"vulnerable": false,
"matchCriteriaId": "2B582411-9B91-4934-A431-41C3DE634010"
},
{
"criteria": "cpe:2.3:a:ryszard_pydo:linuxstat:2.1:*:*:*:*:*:*:*",
"vulnerable": false,
"matchCriteriaId": "CB3BE0BD-19E4-44C9-9A56-8DFB81040797"
},
{
"criteria": "cpe:2.3:a:ryszard_pydo:linuxstat:2.2:*:*:*:*:*:*:*",
"vulnerable": false,
"matchCriteriaId": "D666A29D-0764-463F-A9F5-1863A97B00CD"
},
{
"criteria": "cpe:2.3:a:ryszard_pydo:linuxstat:2.3:*:*:*:*:*:*:*",
"vulnerable": false,
"matchCriteriaId": "A5F527EC-124E-420D-91D2-E4F43D71D0D8"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}