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:

March 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close