CVE-2021-31643 — Bf-630 Firmware
MEDIUMCVE-2021-31643 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in chiyu-tech bf-630 firmware. 4 public exploit or proof-of-concept references are indexed, so weaponization risk is real. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.
An XSS vulnerability exists in several IoT devices from CHIYU Technology, including SEMAC, Biosense, BF-630, BF-631, and Webpass due to a lack of sanitization on the component if.cgi…
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Description
An XSS vulnerability exists in several IoT devices from CHIYU Technology, including SEMAC, Biosense, BF-630, BF-631, and Webpass due to a lack of sanitization on the component if.cgi - username parameter.
Affected Products
bf-630 firmwarechiyu-techbf-631 firmwarechiyu-techbiosense firmwarechiyu-techsemac d1 firmwarechiyu-techsemac d2 firmwarechiyu-techsemac d2 n300 firmwarechiyu-techResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
CHIYU IoT devices - Multiple Cross-Site Scripting (XSS)
by sirpedrotavares · Jun 1, 2021
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every chiyu-tech bf-630 firmware deployment and check each version against the affected-products list above.
Remediation status
The records we use list no fixed version for CVE-2021-31643. Check the chiyu-tech bf-630 firmware advisory for a patched release, and apply the workarounds below until you can upgrade.
Mitigate without a patch
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2021-31643 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.