Rapid7 Vulnerability & Exploit Database

SysAid Help Desk 'rdslogs' Arbitrary File Upload

Back to Search

SysAid Help Desk 'rdslogs' Arbitrary File Upload

Disclosed
06/03/2015
Created
05/30/2018

Description

This module exploits a file upload vulnerability in SysAid Help Desk v14.3 and v14.4. The vulnerability exists in the RdsLogsEntry servlet which accepts unauthenticated file uploads and handles zip file contents in an insecure way. By combining both weaknesses, a remote attacker can accomplish remote code execution. Note that this will only work if the target is running Java 6 or 7 up to 7u25, as Java 7u40 and above introduces a protection against null byte injection in file names. This module has been tested successfully on version v14.3.12 b22 and v14.4.32 b25 in Linux. In theory this module also works on Windows, but SysAid seems to bundle Java 7u40 and above with the Windows package which prevents the vulnerability from being exploited.

Author(s)

  • Pedro Ribeiro <pedrib@gmail.com>

Platform

Java

Architectures

java

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/http/sysaid_rdslogs_file_upload
msf exploit(sysaid_rdslogs_file_upload) > show targets
    ...targets...
msf exploit(sysaid_rdslogs_file_upload) > set TARGET < target-id >
msf exploit(sysaid_rdslogs_file_upload) > show options
    ...show and set options...
msf exploit(sysaid_rdslogs_file_upload) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;