CVE-2020-5721 Hardcoded credentials in MikroTik WinBox

Medium 5.5 Published Updated

Attackers with local file access can extract cleartext credentials from WinBox configuration files to gain unauthorized router access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-5721?

CVE-2020-5721 is a medium-severity vulnerability in MikroTik WinBox, published on 15 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

MikroTik WinBox 3.22 and below stores the user's cleartext password in the settings.cfg.viw configuration file when the Keep Password field is set and no Master Password is set. Keep Password is set by default and, by default Master Password is not set. An attacker with access to the configuration file can extract a username and password to gain access to the router.

Weakness: CWE-522, CWE-260

Which versions are affected by CVE-2020-5721?

It affects 1 product.

Products include Mikrotik Winbox.

How do I fix CVE-2020-5721?

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

Is CVE-2020-5721 being exploited?

There is no known exploitation of CVE-2020-5721 in the wild and no public exploit code.

Sources

Also known as GHSA-gqqr-qcv3-9xg2.

Is CVE-2020-5721 in your software?

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

Check your SBOMs for free