Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Informations
Name MDVSA-2010:178 First vendor Publication 2010-09-12
Vendor Mandriva Last vendor Modification 2010-09-12
Severity (Vendor) N/A Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Multiple vulnerabilities has been found and corrected in ocsinventory:

Multiple cross-site scripting (XSS) vulnerabilities in ocsreports/index.php in OCS Inventory NG 1.02.1 allow remote attackers to inject arbitrary web script or HTML via (1) the query string, (2) the BASE parameter, or (3) the ega_1 parameter. NOTE: some of these details are obtained from third party information (CVE-2010-1594).

Multiple SQL injection vulnerabilities in ocsreports/index.php in OCS Inventory NG 1.02.1 allow remote attackers to execute arbitrary SQL commands via the (1) c, (2) val_1, or (3) onglet_bis parameter (CVE-2010-1595).

Multiple SQL injection vulnerabilities in OCS Inventory NG before 1.02.3 allow remote attackers to execute arbitrary SQL commands via (1) multiple inventory fields to the search form, reachable through index.php; or (2) the Software name field to the All softwares search form, reachable through index.php. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information (CVE-2010-1733).

This upgrade provides ocsinventory 1.02.3 which is not vulnerable for these security issues.

Original Source

Url : http://www.mandriva.com/security/advisories?name=MDVSA-2010:178

CWE : Common Weakness Enumeration

% Id Name
67 % CWE-89 Improper Sanitization of Special Elements used in an SQL Command ('SQL Injection') (CWE/SANS Top 25)
33 % CWE-79 Failure to Preserve Web Page Structure ('Cross-site Scripting') (CWE/SANS Top 25)

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 13

OpenVAS Exploits

Date Description
2010-09-14 Name : Mandriva Update for ocsinventory MDVSA-2010:178 (ocsinventory)
File : nvt/gb_mandriva_MDVSA_2010_178.nasl
2010-06-01 Name : OCS Inventory NG Multiple SQL Injection Vulnerabilities
File : nvt/secpod_ocs_inventory_ng_mult_sql_inj_vuln_may10.nasl
2010-05-05 Name : OCS Inventory NG Multiple Vulnerabilities
File : nvt/gb_ocs_inventory_ng_mult_xss_sql_vul.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
61943 OCS Inventory NG index.php Multiple Parameter XSS

OCS Inventory NG contains a flaw that allows a remote cross site scripting (XSS) attack. This flaw exists because the application does not validate input passed via multiple parameters upon submission to the 'index.php' script. This may allow a user to create a specially crafted URL that would execute arbitrary script code in a user's browser within the trust relationship between their browser and the server.
61942 OCS Inventory NG index.php Multiple Parameter SQL Injection

OCS Inventory NG contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the 'index.ph' script not properly sanitizing user-supplied input to the 'c' parameter (when 'cuaff' is set to any value) and 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' parameters (when 'multi' is set to '1') and via the 'All softwares' search form for the 'Software name' parameter (when 'multi' is set to '36'). This may allow an attacker to inject or manipulate SQL queries in the back-end database, allowing for the manipulation or disclosure of arbitrary data.