what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

OCS Inventory NG Directory Traversal

OCS Inventory NG Directory Traversal
Posted Jun 4, 2009
Authored by Nico Leidecker

OCS Inventory NG version 1.02 suffers from a remote file disclosure vulnerability.

tags | exploit, remote, file inclusion
SHA-256 | 73e8f91b83749f97a33d287b830b4b07522b83f9752bb37c0cef2b5558ba9243

OCS Inventory NG Directory Traversal

Change Mirror Download
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



Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close