CVE-2009-2166 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can read arbitrary files on Unix systems via path traversal in the log parameter of cvs.php.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-2166?

CVE-2009-2166 is a medium-severity path traversal vulnerability in n/a, published on 22 Jun 2009. It can be exploited over the network, with no action from the victim.

Official description

Absolute path traversal vulnerability in cvs.php in OCS Inventory NG before 1.02.1 on Unix allows remote attackers to read arbitrary files via a full pathname in the log parameter.

Weakness: CWE-22

Which versions are affected by CVE-2009-2166?

It affects 1 product.

Products include Ocsinventory-Ng Ocs Inventory Ng.

How do I fix CVE-2009-2166?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2009-2166 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-2166 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2009-2166, GHSA-6wjf-4944-xw92.

Is CVE-2009-2166 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free