Lucene search
+L

OCS Inventory NG 2.0.1 Persistent XSS

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 42 Views

OCS Inventory NG 2.0.1 Persistent XSS, allows injection of malicious HTML/JS into computer description fiel

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
OCS Inventory NG 2.0.1 Persistent XSS
19 Oct 201100:00
–zdt
cve
CVE
CVE-2011-4024
21 Oct 201118:00
–cve
cvelist
Cvelist
CVE-2011-4024
21 Oct 201118:00
–cvelist
debiancve
Debian CVE
CVE-2011-4024
21 Oct 201118:00
–debiancve
exploitdb
Exploit DB
OCS Inventory NG 2.0.1 - Persistent Cross-Site Scripting
20 Oct 201100:00
–exploitdb
exploitpack
exploitpack
OCS Inventory NG 2.0.1 - Persistent Cross-Site Scripting
20 Oct 201100:00
–exploitpack
fedora
Fedora
[SECURITY] Fedora 14 Update: ocsinventory-1.3.3-5.fc14
14 Nov 201100:52
–fedora
fedora
Fedora
[SECURITY] Fedora 15 Update: ocsinventory-1.3.3-5.fc15
14 Nov 201100:53
–fedora
fedora
Fedora
[SECURITY] Fedora 16 Update: ocsinventory-1.3.3-5.fc16
5 Nov 201101:18
–fedora
nessus
Tenable Nessus
Fedora 16 : ocsinventory-1.3.3-5.fc16 (2011-14923)
7 Nov 201100:00
–nessus
Rows per page

                                                OCS Inventory NG 2.0.1 - Persistent XSS (CVE-2011-4024)
-------------------------------------------------------

Software      : Open Computer and Software (OCS) Inventory NG
Download      : http://www.ocsinventory-ng.org/
Discovered by : Nicolas DEROUET (nicolas.derouet[gmail]com)
Discover      : 2011-10-04
Published     : 2011-10-05
Version       : 2.0.1 and prior
Impact        : Persistent XSS
Remote        : Yes (No authentication is needed)
CVE-ID        : CVE-2011-4024


Info
----

Open Computer and Software (OCS) Inventory Next Generation (NG) is an
application designed to help a network or system administrator keep track
of the computers configuration and software that are installed on the network.


Details
-------

The vulnerability is in the data sent by the agent OCS. The inventory service
and the admin panel does not control the data received. An attacker could inject
malicous HTML/JS through into the inventory information (eg. the computer
description field under WinXP). This data is printed in the admin panel wich
can lead to a session hijack or whatever you want.


PoC
---

1. Enter the XSS script (eg. <script>alert(String.fromCharCode(88,83,83))</script>)
   in the computer description field. (WinXP > System Properties > Computer
   Name > Computer Description)
   
2. Launch an inventory with OCS Agent

3. Go on the admin panel (http://SERVER/ocsreports/)

4. View your computer detail 

Tested on     : OCS Agent 2.0.1 (WinXP SP3) and OCS Server 2.0.1 (Windows).
Not tested on : Linux Plateform and GLPI (OCS import)


Solution
--------

Upgrade to OCS Inventory NG 2.0.2

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation