OCS Inventory NG Server Administration Console header.php login Parameter SQL Injection

high Nessus Plugin ID 44393

Synopsis

The remote web server is hosting a PHP application that is vulnerable to a SQL-injection attack.

Description

The version of the OCS Inventory NG Server Administration Console hosted on the remote web server fails to properly sanitize user- supplied input to the 'login' parameter of the 'header.php' script.

Provided PHP's 'magic_quotes_gpc' setting is disabled, an attacker can exploit this to bypass authentication and thereby gain access to the administrative interface.

Solution

Upgrade to OCS Inventory NG Management Server version 1.3beta4 / 1.02.2 or later as those versions have been determined to address the vulnerability.

See Also

https://www.securityfocus.com/archive/1/509252/30/0/threaded

http://forums.ocsinventory-ng.org/viewtopic.php?id=5609

Plugin Details

Severity: High

ID: 44393

File Name: ocs_inventory_ng_login_sql_inject.nasl

Version: 1.13

Type: remote

Family: CGI abuses

Published: 2/4/2010

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

Required KB Items: www/PHP, www/ocs_inventory

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No known exploits are available

Exploited by Nessus: true

Patch Publication Date: 1/30/2010

Vulnerability Publication Date: 1/29/2010

Reference Information

BID: 38005

Secunia: 38311