Home / Advisories / KLCERT advisories / KLCERT-21-019: Robert Bosch GmbH CPP HD/MP cameras. Reflected XSS in a page parameter

KLCERT-21-019: Robert Bosch GmbH CPP HD/MP cameras. Reflected XSS in a page parameter

Kaspersky publishes information on newly identified vulnerabilities in order to raise user awareness of the IT security threats detected. Kaspersky does not make any guarantees in respect of information received from vendors of products in which vulnerabilities have been identified, which is included in the following sections of the advisory: Affected Products, Vendor Mitigation.

KLCERT-ID KLCERT-21-019
CVE CVE-2021-23854
CWE CWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)
Publication date 2021-07-02
Researcher Alexander Nochvay
Description

Kaspersky ICS CERT discovered a reflected XSS in a page parameter.

Impact

⚠ It is possible to execute any RCP+ command via RCP+ over CGI, if victim follows the attacker’s malicious link and authenticates into camera.

Severity
CVSS v3 Base Score 9.6 (Critical)
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Exploitability ⚠ Remotely exploitable: victim should have a network access to ports 80/TCP or 443/TCP.
Difficulty ⚠ Low skill level to exploit
Privilege required ⚠ No privileges required
User interaction User interaction required: a user must follow the attacker’s malicious link to login page and login into with correct credentials
Scope Scope changed
Affected products
Affected products
  • CPP4 HD/MP cameras:
    • 7.10 – All firmware build versions before 7.10.0095
  • CPP6 HD/MP cameras:
    • 7.60 – All firmware build versions
    • 7.61 – All firmware build versions
    • 7.62 – All firewall build versions before 7.62.0005
    • 7.70 – All firmware build versions
  • AVIOTEC cameras:
    • 7.61 – All firmware build versions
    • 7.70 – All firmware build versions
    • 7.72 – All firmware build versions before 7.72.0013
  • CPP7 HD/MP cameras:
    • 7.60 – All firmware build versions
    • 7.61 – All firmware build versions
    • 7.62 – All firmware build versions before 7.62.0005
    • 7.70 – All firmware build versions
    • 7.72 – All firmware build versions
  • CPP7.3 HD/MP cameras:
    • 7.60 – All firmware build versions
    • 7.61 – All firmware build versions
    • 7.62 – All firmware build versions before 7.62.0005
    • 7.70 – All firmware build versions
    • 7.72 – All firmware build versions
  • CPP13 HD/MP cameras:
    • 7.75 – All firmware build versions before 7.75.0008
Mitigation
Robert Bosch GmbH mitigation

Software Updates: The recommended approach is to update the affected Bosch firmware to a fixed version. If an update is not possible in timely manner, users are recommended to follow the mitigations and workarounds described in the following section.

Secure Configuration Environment: It is advised to use a Bosch tool like the Configuration Manager to configure the camera, that does not allow for issues like CSRF and XSS.

When using the web based configuration interface and currently being logged in as administrator, some security precautions can be taken to mitigate XSS and CSRF vulnerabilities:

  • No other websites or email content should be opened as long as the session to the camera is active
  • No links should be clicked from an untrusted external source that link back to the camera.
  • Use a different browser than the system default browser to open a session to the camera as there is no XSS or CSRF between browsers.
  • Always log out and/or close the browser (not only the tab) to clear any session data
Timeline 2021-04-20 – Vulnerability reported
2021-06-09 – Robert Bosch GmbH published the advisory