XODA Document Management System XSS & Arbitrary File Upload Exploits

Summary

XODA Document Management System v0.4.5 suffers from XSS & Arbitrary File Upload Vulnerability

Credit:

The information has been provided by Shai rod.


Details

Vulnerable Systems:
 * XODA Document Management System v0.4.5

1. Arbitrary File Upload:

It is possible to access the file upload page ‘?upload_to=’ without the need to authenticate (log in) to the XODA system. An attacker is able to upload a web shell to the server and gain unauthorized access to the operating system.

Vulnerable URL: http://server/xodadir/?upload_to=

Default location of uploaded files: http://server/xodadir/files/

2. Stored XSS in file description.

Steps to reproduce the XSS:
2.1 Select a document.
2.2 Click on description.
2.3 Enter XSS Payload: <img src=’1.jpg’onerror=javascript:alert(document.cookie)>
2.4 Reload the page XSS Should be triggered.

3. Stored XSS in filters.

Steps to reproduce the XSS:
3.1 Select the document.
3.2 Click on filters.
3.3 In the ‘Filters (one per line):’ field insert XSS paload: <img src=’1.jpg’onerror=javascript:alert(document.cookie)>
3.4 Click ‘Set filters’.
3.5 Click on the document icon to open its properties.
3.6 XSS Should be triggered.

Disclosure Timeline:
Published: 2012-08-21

Categories: Exploits