Optergy has recommendations and an update to mitigate multiple vulnerabilities in its Proton/Enterprise Building Management System, according to a report with NCCIC.
The vulnerabilities include an information exposure, cross-site request forgery, unrestricted upload of file with dangerous type, open redirect, hidden functionality, exposed dangerous method or function, and use of hard-coded credentials.
Successful exploitation of these remotely exploitable vulnerabilities could allow an attacker to achieve remote code execution and gain full system access. Gjoko Krstic of Applied Risk reported these vulnerabilities to Optergy.
A building management system, Proton/Enterprise Versions 2.3.0a and prior suffer from the issues.
In one vulnerability, the application suffers from username disclosure via its username reset functionality. An attacker can enumerate and disclose all the valid users on the system. Furthermore, when calling a certain page from a remote location, the following internal information can be divulged for the current system: Name, Internal IP Address, Netmask, Hostname, Gateway, DNS Server, and DNS Server 2.
CVE-2019-7272 and CVE-2019-7277 are the case numbers assigned to these vulnerabilities, which has a CVSS v3 base score of 5.3.
In addition, the affected application allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to perform certain actions with administrative privileges if a logged-in user visits a malicious website.
CVE-2019-7273 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 5.0.
Also, the vulnerability exists due to the absence of file extension validation when uploading files through the badge image upload script. A remote and unauthenticated attacker can upload files with arbitrary extensions into a directory within application’s web root and execute them with privileges of the web server.
CVE-2019-7274 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 9.9.
In addition, the vulnerability can be exploited to redirect a user to an arbitrary website; e.g., when a user clicks a specially crafted link to the affected script hosted on a trusted domain.
CVE-2019-7275 is the case number assigned to this vulnerability, which had a CVSS v3 base score of 3.1.
The vulnerability allows attackers to directly navigate to an undocumented backdoor script and gain full system access. This allows unauthenticated code execution with highest privileges.
CVE-2019-7276 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 10.0.
In addition, unauthenticated users may be able to use undeclared class functions to access certain resources directly.
CVE-2019-7278 is case number assigned to this vulnerability, which has a CVSS v3 base score of 7.3.
Also, attackers can use CVE-2019-7278 to send unauthorized SMS messages to any phone number depending on the stored credits to the hard-coded credentials in the function.
CVE-2019-7279 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 7.3.
The product sees use mainly in the commercial facilities, and government facilities sectors. It also sees action on a global basis.
No known public exploits specifically target these vulnerabilities. However, an attacker with low skill level could leverage the vulnerabilities.
Optergy recommends the following procedure to remediate these issues:
• Update Optergy server to Version 2.4.5 (or later) to remediate the issues described in this advisory (Proton and Optergy Enterprise)
• Contact an Optergy Reseller who has access to this no charge software update
• If unsure who to contact, send an email
The latest Optergy software updates include important security updates including enhancements to prevent unwanted intrusion.
In addition to these software updates, Optergy said it is important for users to ensure the site network is also secure to add an extra layer of security. To keep the Optergy system safer from unintended access, Optergy recommends:
• Close Port 22 or disable port forwarding to Optergy server for Port 22 (SSH). This port is only used for technical support to remotely diagnose problems. If Port 22 is needed, open only for the duration of the support activity. Default state should be closed.
• Use secure SSL (Secure Socket Layer) connections when crossing Internet, this means using an enterprise LAN that has firewalls and routers to block incoming traffic. Alternatively, deploy the Optergy OpenVPN, which is built in and offers encrypted communication. Optergy supports SSL for encrypted communication.
• Use strong passwords. A strong password has a minimum of 12 characters, includes numbers, symbols, capital letters, lowercase letters, is not a Dictionary word or combination of Dictionary words, and doesn’t rely on obvious substitutions.
• Never share passwords. Concurrent logins can be prevented in web server and portal preferences.
• Use expiring passwords. Users of the system come and go, an expiring password will at least keep out people who may be no longer authorized to use the system.
• Always regularly update your software. Optergy updates always include stability, security, and other enhancements to maximize performance and reduce risk of downtime.