Bug 560737 - OCS Inventory NG: Multiple security fixes in v1.02.2 version of Management server for Unix/Linux
Summary: OCS Inventory NG: Multiple security fixes in v1.02.2 version of Management se...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: http://secunia.com/advisories/38311/
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-01 18:13 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-22 19:13:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Lieskovsky 2010-02-01 18:13:17 UTC
Multiple security fixes has been reported and addressed in v1.02.2
version of OCS Inventory NG Management server for Unix/Linux.

Exactly quoting Secunia SA38311 advisory [1] for more details:

Hernan Jais has discovered multiple vulnerabilities in OCS Inventory NG, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct cross-site scripting attacks.

1) Input passed via the "c" parameter to index.php (when "cuaff" is set to any value) is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed via the search form for the "BIOS Manufacturer", "BIOS Version", "Computer name", "Description", "Free space", "Gateway", "IP address", "MAC address", "Manufacturer", "Memory", "Model", "Monitor: caption", "Monitor: manufacturer", "Monitor: serial", "Network number", "Processor Speed", "Registry key", "Serial number", "Service pack", "Software", "Tag", or "User" criteria to index.php (when "multi" is set to "1") and via the "All softwares" search form for the "Software name" criteria to index.php (when "multi" is set to "36") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

3) Input passed via the URL is not properly sanitised before being returned to the user within the index.php script. This can be exploited to execute arbitrary HTML and script code in a logged-in user's browser session in context of an affected site.

References:
[1] http://secunia.com/advisories/38311/
[2] http://www.packetstormsecurity.org/1001-exploits/ocsinventoryng-sqlxss.txt
[3] http://www.ocsinventory-ng.org/index.php?page=1-02-1

Upstream v1.02.2 release:
[4] http://launchpad.net/ocsinventory-server/stable-1.02/stable-release-1.02.2/+download/OCSNG_UNIX_SERVER-1.02.2.tar.gz

CVE Request:
  http://www.openwall.com/lists/oss-security/2010/02/01/4

Credit:
  Hernan Jais

Comment 1 Remi Collet 2010-02-01 18:50:14 UTC
I detect that this version 1.02.2 revert the previous security fix for #517837 

I waiting for more upstream information, and probably for a quick 1.02.3

Comment 2 Jan Lieskovsky 2010-02-02 09:14:00 UTC
Hi Remi,

(In reply to comment #1)
> I detect that this version 1.02.2 revert the previous security fix for #517837 

  Have you tried to contact upstream regarding this -^ ? Or should I?

> 
> I waiting for more upstream information, and probably for a quick 1.02.3    

  Hopefully explicit notification to them regarding this could speed things
  up.

Thanks, Jan.

Comment 3 Remi Collet 2010-02-02 19:49:59 UTC
> Have you tried to contact upstream
Yes. This is under upstream control.
Should be fixed very soon.

Comment 4 Fedora Update System 2010-02-05 06:48:05 UTC
ocsinventory-1.02.3-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/ocsinventory-1.02.3-1.fc12

Comment 5 Fedora Update System 2010-02-05 06:48:28 UTC
ocsinventory-1.02.3-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/ocsinventory-1.02.3-1.fc11

Comment 6 Fedora Update System 2010-02-05 06:48:49 UTC
ocsinventory-1.02.3-1.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/ocsinventory-1.02.3-1.el5

Comment 7 Fedora Update System 2010-02-05 06:49:12 UTC
ocsinventory-1.02.3-1.el4 has been submitted as an update for Fedora EPEL 4.
http://admin.fedoraproject.org/updates/ocsinventory-1.02.3-1.el4

Comment 8 Fedora Update System 2010-02-06 00:05:10 UTC
ocsinventory-1.02.3-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-02-06 00:07:13 UTC
ocsinventory-1.02.3-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-02-09 03:57:10 UTC
ocsinventory-1.02.3-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-02-09 03:59:36 UTC
ocsinventory-1.02.3-1.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.