-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2019.1528
                 Advisory (ICSA-19-122-01) Orpak SiteOmat
                                3 May 2019

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Orpak SiteOmat
Publisher:         National Cybersecurity and Communications Integration Center
Operating System:  Linux variants
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated      
                   Cross-site Scripting            -- Remote with User Interaction
                   Access Confidential Data        -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-14854 CVE-2017-14853 CVE-2017-14852
                   CVE-2017-14851 CVE-2017-14850 CVE-2017-14728

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-19-122-01

- --------------------------BEGIN INCLUDED TEXT--------------------

Advisory (ICSA-19-122-01)

Orpak SiteOmat

Original release date: May 02, 2019

Legal Notice

All information products included in http://ics-cert.us-cert.gov are
provided"as is" for informational purposes only. The Department of Homeland
Security (DHS) does not provide any warranties of any kind regarding any
information contained within. DHS does not endorse any commercial product or
service, referenced in this product or otherwise. Further dissemination of this
product is governed by the Traffic Light Protocol (TLP) marking in the header.
For more information about TLP, see http://www.us-cert.gov/tlp/ .

1. EXECUTIVE SUMMARY

  o CVSS v3 9.8
  o ATTENTION: Exploitable remotely/low skill level to exploit/public exploits
    available
  o Vendor: Orpak (acquired by Gilbarco Veeder-Root)
  o Equipment: SiteOmat
  o Vulnerabilities: Use of Hard-coded Credentials, Cross-site Scripting, SQL
    Injection, Missing Encryption of Sensitive Data, Code Injection,
    Stack-based Buffer Overflow

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could result in arbitrary
remote code execution resulting in possible denial-of-service conditions and
unauthorized access to view and edit monitoring, configuration, and payment
information.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of SiteOmat, software for fuel station management, are
affected:

  o SiteOmat versions prior to 6.4.414.122 only are vulnerable to stack-based
    buffer overflow CVE-2017-14854 and Code Injection CVE-2017-14853
  o SiteOmat Versions prior to 6.4.414.084

3.2 VULNERABILITY OVERVIEW

3.2.1 USE OF HARD-CODED CREDENTIALS CWE-798

The application utilizes hard coded username and password credentials for
application login.

CVE-2017-14728 has been assigned to this vulnerability. A CVSS v3 base score of
9.8 has been calculated; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/
C:H/I:H/A:H ).

3.2.2 IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION ('CROSS-SITE
SCRIPTING') CWE-79

The application web interface does not properly neutralize user-controllable
input, which could allow cross-site scripting.

CVE-2017-14850 has been assigned to this vulnerability. A CVSS v3 base score of
6.1 has been calculated; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:R/S:C/
C:L/I:L/A:N ).

3.2.3 IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN AN SQL COMMAND ('SQL
INJECTION') CWE-89

The application does not properly sanitize external input, which may allow an
attacker to access the product by specially crafted input.

CVE-2017-14851 has been assigned to this vulnerability. A CVSS v3 base score of
9.4 has been calculated; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/
C:H/I:H/A:L ).

3.2.4 MISSING ENCRYPTION OF SENSITIVE DATA CWE-311

The application transmits information in plain text, including credentials,
which could allow an attacker with access to transmitted data to obtain
credentials and bypass authentication.

CVE-2017-14852 has been assigned to this vulnerability. A CVSS v3 base score of
8.6 has been calculated; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/
C:H/I:L/A:L ).

3.2.5 IMPROPER CONTROL OF GENERATION OF CODE ('CODE INJECTION') CWE-94

The application does not properly restrict syntax from external input, which
could allow unauthenticated users to execute specially crafted code on the
target system.

CVE-2017-14853 has been assigned to this vulnerability. A CVSS v3 base score of
8.6 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/C:L/
I:H/A:L ).

3.2.6 STACK-BASED BUFFER OVERFLOW CWE-121

The application utilizes a function that accepts user input. This input is not
properly validated, which could allow an attacker to execute arbitrary code.

CVE-2017-14854 has been assigned to this vulnerability. A CVSS v3 base score of
9.1 has been calculated; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/
C:N/I:H/A:H) .

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Commercial Facilities, Energy,
    Transportation Systems
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: Israel

3.4 RESEARCHER

Ido Naor of Kaspersky Lab reported these vulnerabilities to NCCIC.

4. MITIGATIONS

Orpak recommends users of affected versions update to the latest release
v6.4.414.139 or later. The update can be obtained by contacting customer care
with the following options:

Online Ticket (login required): https://support.zoho.com/portal/orpak/home

Email: support@orpak.com

Tel: +972 3 577 6864

NCCIC recommends users take defensive measures to minimize the risk of
exploitation of this vulnerability. Specifically, users should:

  o Minimize network exposure for all control system devices and/or systems,
    and ensure that they are not accessible from the Internet .
  o Locate control system networks and remote devices behind firewalls, and
    isolate them from the business network.
  o When remote access is required, use secure methods, such as Virtual Private
    Networks (VPNs), recognizing that VPNs may have vulnerabilities and should
    be updated to the most current version available. Also recognize that VPN
    is only as secure as the connected devices.
  o Restrict system access to authorized personnel only and follow a least
    privilege approach.
  o Apply defense-in-depth strategies.
  o Disable unnecessary accounts and services.

NCCIC reminds organizations to perform proper impact analysis and risk
assessment prior to deploying defensive measures.

NCCIC also provides a section for control systems security recommended
practices on the ICS-CERT web page. Several recommended practices are available
for reading and download, including Improving Industrial Control Systems
Cybersecurity with Defense-in-Depth Strategies .

Additional mitigation guidance and recommended practices are publicly available
on the ICS-CERT website in the Technical Information Paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies .

Organizations observing any suspected malicious activity should follow their
established internal procedures and report their findings to NCCIC for tracking
and correlation against other incidents.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBXMuiOmaOgq3Tt24GAQiOZg/+L8A9+aNcRF56dvrHaIO53SFccnXRof/0
wu1fOj+Kyw7sdsVw4ESnac9k8HH3iiY+kWC1pK7zgsUjV7vCyVbbIqRzUkUlNnCm
NPousJm+/B6X2r0j8sZSbyVvT7Dds/+yEqyzHQW5NXVRJNry2pgRWeIKICzI0591
Qdm5MYB2oLGUUto+E4rFDwXTRRgJy/yDv4wSNOu7ndFBwHpERVBKzzxiBAb8fu/n
zwoQQr+CfUQwp4Gt0Rm1yE2ceRDgjorvIbkA9sas+aX7hAnKKnDn+hXP+HEjSnUn
H3dgq507ucTTai81Kll/SQ79C6k3oibT5o91J8dk3sCyWAtzMEK59Ox1H1fLZqM6
1z9/PEaIzNX/U8M1bY8SbOi5lWdIGmrupomnK004xzTJt8GZ+AWDoZhzIWstvPZx
/Yls03J7hFjulSgrRNHSHhGJm7dE8RG4vADkHpjQ38nN+nw5oebzB9bC9VWweCFd
RVsCL6/WO+cjpeVtiDRO9MXKWvwZHlElOLRwYMR6yLcmTYF9FAZEhCF+QgaIX1F5
0paCdQfo5NOHvFxxogbR+tNgw7UrDqTfWLeYBLG2CgVNvmSdOfVuRcBMDYPn0EfM
Brh/5idueB9ZHeIszeUkz02otHDFD3DxJ2DsNXZWRHXzLeNptPCEbpBd4UAYfi92
qRwcpQF1O1E=
=Sgu/
-----END PGP SIGNATURE-----