CVE-2021-31250 Cross-site scripting in n/a

Medium 5.4 Published Updated

Attackers can inject malicious scripts into TCP/IP Converter devices via unsanitized input, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-31250?

CVE-2021-31250 is a medium-severity cross-site scripting vulnerability in n/a, published on 4 Jun 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Multiple storage XSS vulnerabilities were discovered on BF-430, BF-431 and BF-450M TCP/IP Converter devices from CHIYU Technology Inc due to a lack of sanitization of the input on the components man.cgi, if.cgi, dhcpc.cgi, ppp.cgi.

Weakness: CWE-79

Which versions are affected by CVE-2021-31250?

It affects 3 products.

Products include Chiyu-Tech Bf-430 Firmware, Chiyu-Tech Bf-431 Firmware, Chiyu-Tech Bf-450m Firmware.

How do I fix CVE-2021-31250?

No fix has been published for CVE-2021-31250 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-31250 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-31250 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-93wm-fh6p-4cpf.

Is CVE-2021-31250 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free